jasco.runtime
Class ConnectorRegistry

java.lang.Object
  extended by jasco.runtime.ConnectorRegistry

public class ConnectorRegistry
extends java.lang.Object


Method Summary
protected static void addAll(java.util.Vector v, java.util.Vector toAdd)
           
static void addConnectorCombinationStrategy(ConnectorCombinationStrategy c)
           
static void addConnectorRegistryListener(ConnectorRegistryListener l)
           
protected static java.util.Enumeration allHooks()
           
static boolean areConnectorsCachable()
           
static void checkPersistance()
           
static void CombinationStrategy(ConnectorCombinationStrategy c)
           
protected static void debug()
           
static java.lang.Object executeTrap(java.lang.String sig, java.lang.Object o, JascoMethod method)
           
static java.util.Vector findCutpointForMethod(java.lang.String aMethod, java.lang.Object anInstance, MethodJoinpoint aJascoMethod)
           
static java.util.Vector findCutpointForMethod(java.lang.String aMethod, java.lang.Object anInstance, MethodJoinpoint aJascoMethod, boolean forJutta)
           
protected static void fireConnectorRegistryChanged(CRChangeEvent event)
           
static void forceConnectorLoad()
           
static java.util.Iterator getConnectors()
           
protected static java.util.HashMap getConnectorsCopy()
           
static java.util.Vector getConnectorsVector()
           
static boolean isAdapted(JascoMethod method)
           
static boolean isAdaptedAndThreadFlag(JascoMethod method)
           
protected static void load()
           
protected static void notifyAspects(Connector c, HookPropertyChangeEvent event)
           
static void pauseRefreshing()
           
static void quit()
           
static void refresh()
           
static void registerConnector(Connector c)
           
static void RegistryListener(ConnectorRegistryListener l)
           
static void releaseThreadFlag()
           
static void reOrderConnectors()
           
static void restartLoadThread()
           
static void resumeRefreshing()
           
static void setThreadFlag()
           
static void start()
           
static void unRegisterConnector(Connector c)
           
static void unRegisterConnector(Connector c, boolean notifyAspects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

restartLoadThread

public static void restartLoadThread()

quit

public static void quit()

allHooks

protected static java.util.Enumeration allHooks()

findCutpointForMethod

public static java.util.Vector findCutpointForMethod(java.lang.String aMethod,
                                                     java.lang.Object anInstance,
                                                     MethodJoinpoint aJascoMethod)

findCutpointForMethod

public static java.util.Vector findCutpointForMethod(java.lang.String aMethod,
                                                     java.lang.Object anInstance,
                                                     MethodJoinpoint aJascoMethod,
                                                     boolean forJutta)

addAll

protected static void addAll(java.util.Vector v,
                             java.util.Vector toAdd)

addConnectorCombinationStrategy

public static void addConnectorCombinationStrategy(ConnectorCombinationStrategy c)

CombinationStrategy

public static void CombinationStrategy(ConnectorCombinationStrategy c)

addConnectorRegistryListener

public static void addConnectorRegistryListener(ConnectorRegistryListener l)

RegistryListener

public static void RegistryListener(ConnectorRegistryListener l)

fireConnectorRegistryChanged

protected static void fireConnectorRegistryChanged(CRChangeEvent event)

registerConnector

public static void registerConnector(Connector c)

unRegisterConnector

public static void unRegisterConnector(Connector c)

unRegisterConnector

public static void unRegisterConnector(Connector c,
                                       boolean notifyAspects)

start

public static void start()

forceConnectorLoad

public static void forceConnectorLoad()

pauseRefreshing

public static void pauseRefreshing()

resumeRefreshing

public static void resumeRefreshing()

getConnectorsCopy

protected static java.util.HashMap getConnectorsCopy()

getConnectors

public static java.util.Iterator getConnectors()

getConnectorsVector

public static java.util.Vector getConnectorsVector()

debug

protected static void debug()

isAdapted

public static boolean isAdapted(JascoMethod method)

executeTrap

public static java.lang.Object executeTrap(java.lang.String sig,
                                           java.lang.Object o,
                                           JascoMethod method)
                                    throws java.lang.Exception
Throws:
java.lang.Exception

isAdaptedAndThreadFlag

public static boolean isAdaptedAndThreadFlag(JascoMethod method)

setThreadFlag

public static void setThreadFlag()

releaseThreadFlag

public static void releaseThreadFlag()

load

protected static void load()

refresh

public static void refresh()

checkPersistance

public static void checkPersistance()

notifyAspects

protected static void notifyAspects(Connector c,
                                    HookPropertyChangeEvent event)

reOrderConnectors

public static void reOrderConnectors()

areConnectorsCachable

public static boolean areConnectorsCachable()