|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.blitz.impl.AbstractAmdServant
public abstract class AbstractAmdServant
throttled
implementation base class which can be
used by _ServiceInterfaceOperations
implementors and injected into a
tie servant.
Field Summary | |
---|---|
protected BlitzExecutor |
be
|
protected IceMethodInvoker |
invoker
If a service is provided, then an invoker will be created to cache all of its methods. |
protected ServiceInterface |
service
If there is no undering ome.* service, then this value can be null. |
Constructor Summary | |
---|---|
AbstractAmdServant(ServiceInterface service,
BlitzExecutor be)
|
Method Summary | |
---|---|
void |
applyHardWiredInterceptors(List<HardWiredInterceptor> cptors,
AopContextInitializer initializer)
Applies the hard-wired intercepting to this instance. |
void |
callInvokerOnMappedArgs(IceMapper mapper,
Object __cb,
Ice.Current __current,
Object... args)
|
void |
callInvokerOnRawArgs(Object __cb,
Ice.Current __current,
Object... args)
|
void |
executorWorkCall(Executor.Work work)
|
void |
onSetOmeroContext(OmeroContext context)
To be overridden by subclasses. |
void |
runnableCall(Ice.Current __current,
Runnable r)
|
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx)
Creates an IceMethodInvoker for this instance if service
is non-null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final BlitzExecutor be
protected ServiceInterface service
protected IceMethodInvoker invoker
Constructor Detail |
---|
public AbstractAmdServant(ServiceInterface service, BlitzExecutor be)
Method Detail |
---|
public final void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
IceMethodInvoker
for this instance if service
is non-null. Otherwise gives subclasses a chance to use the OmeroContext
via #onSetContext(OmeroContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void onSetOmeroContext(OmeroContext context) throws Exception
Exception
public final void applyHardWiredInterceptors(List<HardWiredInterceptor> cptors, AopContextInitializer initializer)
public final void callInvokerOnRawArgs(Object __cb, Ice.Current __current, Object... args)
public final void callInvokerOnMappedArgs(IceMapper mapper, Object __cb, Ice.Current __current, Object... args)
public final void runnableCall(Ice.Current __current, Runnable r)
public final void executorWorkCall(Executor.Work work)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.