jasco.runtime
Class DefaultTrapExecutor
java.lang.Object
jasco.runtime.DefaultTrapExecutor
- All Implemented Interfaces:
- ConnectorRegistryListener, ITrapExecutor
- Direct Known Subclasses:
- DistributedTrapExecutor
public class DefaultTrapExecutor
- extends java.lang.Object
- implements ITrapExecutor, ConnectorRegistryListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTrapExecutor
public DefaultTrapExecutor()
addToCachedItems
protected void addToCachedItems(java.util.Vector result,
CombinedHooks cached)
invalidateCache
protected void invalidateCache()
compCachable
protected void compCachable(Connector c)
isCachable
protected boolean isCachable(java.util.Vector hooks)
getCachedItem
protected CombinedHooks getCachedItem(java.util.Vector result)
executeTrap
public java.lang.Object executeTrap(JascoMethod aJascoMethod)
throws java.lang.Exception
- Specified by:
executeTrap
in interface ITrapExecutor
- Throws:
java.lang.Exception
isAdapted
public boolean isAdapted(JascoMethod method)
- Specified by:
isAdapted
in interface ITrapExecutor
registryChanged
public void registryChanged(CRChangeEvent event)
- Description copied from interface:
ConnectorRegistryListener
- method invoked whenever something changes in the connector registry:
connector added, removed, connector combinattion strategy added or removed,...
- Specified by:
registryChanged
in interface ConnectorRegistryListener
registryUpdated
public void registryUpdated()
- Description copied from interface:
ConnectorRegistryListener
- method invoked when the automatic connector loading process is finished
is invoked regardless of whether connectors were added or deleted
use registryChanged to know that.
- Specified by:
registryUpdated
in interface ConnectorRegistryListener