Fields Summary |
---|
private static final String | EJB_CONFIG_FILE |
public static final int | APPCLIENT_CONTAINER |
public static final int | EJBWEB_CONTAINER |
private static final Switch | theSwitch |
private Hashtable | containerDescriptorTable |
private ProtocolManager | protocolManager |
private J2EETransactionManager | tm |
private ContainerFactory | containerFactory |
private InvocationManager | invocationManager |
private NamingManager | namingManager |
private InjectionManager | injectionManager |
private PoolManager | poolManager |
private com.sun.enterprise.resource.ResourceInstaller | resourceInstaller |
private Timer | timer |
private javax.ejb.spi.HandleDelegate | handleDelegate |
private int | containerType |
private volatile com.sun.enterprise.ManagementObjectManager | managementObjectManager |
private com.sun.enterprise.admin.monitor.callflow.Agent | callFlowAgent |
private com.sun.enterprise.naming.ProviderManager | providerManager |
private final Object | getManagementObjectManagerLock |
private final Object | getTimerLock |
private final Object | getHandleDelegateLock |
Methods Summary |
---|
public com.sun.enterprise.admin.monitor.callflow.Agent | getCallFlowAgent()
return this.callFlowAgent;
|
public ContainerFactory | getContainerFactory()
return containerFactory;
|
public int | getContainerType()
return containerType;
|
public java.lang.Object | getDescriptorFor(java.lang.Object containerContext)Returns the deployment descriptor for the EJB container or
Servlet context provided. This is used by the Transaction/Naming
Security Managers.
return containerDescriptorTable.get(containerContext);
|
public javax.ejb.spi.HandleDelegate | getHandleDelegate()
synchronized(getHandleDelegateLock) {
if (handleDelegate == null) {
handleDelegate =
com.sun.enterprise.iiop.IIOPHandleDelegate.getHandleDelegate();
}
}
return handleDelegate;
|
public InjectionManager | getInjectionManager()
return injectionManager;
|
public InvocationManager | getInvocationManager()
return invocationManager;
|
public com.sun.enterprise.ManagementObjectManager | getManagementObjectManager()
synchronized( getManagementObjectManagerLock ) {
if ( managementObjectManager == null ) {
try {
managementObjectManager = (ManagementObjectManager)
Class.forName("com.sun.enterprise.management.util.J2EEManagementObjectManager").newInstance();
} catch(Exception e) {
System.err.println(e);
}
}
}
return managementObjectManager;
|
public NamingManager | getNamingManager()
return namingManager;
|
public PoolManager | getPoolManager()
return poolManager;
|
public ProtocolManager | getProtocolManager()
return protocolManager;
|
public com.sun.enterprise.naming.ProviderManager | getProviderManager()
return providerManager;
|
public com.sun.enterprise.resource.ResourceInstaller | getResourceInstaller()
return resourceInstaller;
|
public static com.sun.enterprise.Switch | getSwitch()
//IASRI 4717059 BEGIN
/*
private ROBNotifier robNotifier;
public ROBNotifier getROBNotifier() {
return robNotifier;
}
public void setROBNotifier(ROBNotifier robNotifier) {
this.robNotifier = robNotifier;
}
*/
//IASRI 4717059 END
return theSwitch;
|
public java.util.Timer | getTimer()
synchronized( getTimerLock ) {
if( timer == null ) {
// Create a scheduler as a daemon so it
// won't prevent process from exiting.
timer = new Timer(true);
}
}
return timer;
|
public J2EETransactionManager | getTransactionManager()
return tm;
|
public void | removeDescriptorFor(java.lang.Object containerContext)Remove the descriptor from the hashtable
containerDescriptorTable.remove(containerContext);
|
public synchronized void | setCallFlowAgent(com.sun.enterprise.admin.monitor.callflow.Agent callFlowAgent)
this.callFlowAgent = callFlowAgent;
FeatureAvailability.getInstance().registerFeature(
FeatureAvailability.CALL_FLOW_FEATURE, callFlowAgent );
|
public void | setContainerFactory(ContainerFactory containerFactory)
this.containerFactory = containerFactory;
|
public void | setContainerType(int type)
containerType = type;
|
public java.lang.Object | setDescriptorFor(java.lang.Object containerContext, java.lang.Object desc)Sets the deployment descriptor for the EJB container or
Servlet context provided.
return containerDescriptorTable.put(containerContext, desc);
|
public void | setInjectionManager(InjectionManager im)
injectionManager = im;
|
public void | setInvocationManager(InvocationManager invocationManager)
this.invocationManager = invocationManager;
|
public void | setNamingManager(NamingManager nm)
namingManager = nm;
|
public void | setPoolManager(PoolManager poolManager)
this.poolManager = poolManager;
|
public void | setProtocolManager(ProtocolManager pm)
protocolManager = pm;
|
public void | setProviderManager(com.sun.enterprise.naming.ProviderManager pf)
providerManager = pf;
|
public void | setResourceInstaller(com.sun.enterprise.resource.ResourceInstaller resourceInstaller)
this.resourceInstaller = resourceInstaller;
|
public void | setTransactionManager(J2EETransactionManager tm)
this.tm = tm;
|