This context contains data needed by all components and services running in
the JBI environment. This interface defines only methods that are not part
of the JBI specification.
author: Sun Microsystems, Inc.
getManagementClass(String aServiceName) Get a handle to the class implementing management for the named
JBI system service.
Parameters: aServiceName - - the name of the JBI system service.
getStringTranslator(String packageName) Get a StringTranslator for a specific package name.
Parameters: packageName - - the name of the package for which a StringTranslatoris being requested.
getStringTranslatorFor(Object object) Get a StringTranslator for a specific object.
Parameters: object - - the object for which a StringTranslator is beingrequested, using the name of the package containing the object.
isFrameworkReady(boolean start) Indicates whether or not the JBI framework has been fully started.
public boolean
isStartOnDeployEnabled() This method is used to find out if start-on-deploy is enabled.
When this is enabled components are started automatically when
there is deployment for them.
public boolean
isStartOnVerifyEnabled() This method is used to find out if start-on-verify is enabled.
When this is enabled components are started automatically when
an application has to be verified for that component.
Get the ComponentQuery for a specified target.
Parameters: targetName - - either "domain" or a valid server / cluster name The ComponentQuery instance.
Get a handle to the class implementing management for the named
JBI system service.
Parameters: aServiceName - - the name of the JBI system service. The instance implementing management for the service.
Get the JNDI naming context for this implementation. This context
is a standard JNDI InitialContext but its content will vary based
on the environment in which the JBI implementation is running.
The JNDI naming context.
Get a StringTranslator for a specific package name.
Parameters: packageName - - the name of the package for which a StringTranslatoris being requested. The StringTranslator for the named package.
Get a StringTranslator for a specific object.
Parameters: object - - the object for which a StringTranslator is beingrequested, using the name of the package containing the object. The StringTranslator for the object's package.
Get the TransactionManager for this implementation. The instance
returned is an implementation of the standard JTS interface. If none
is available, returns null.
A TransactionManager instance.
Get a copy of the WSDL factory. This needs to be done before
any reading, writing, or manipulation of WSDL documents can
be performed using the WSDL API.
An instance of the WSDL factory. exception: WsdlException - If the factory cannot be instantiated.
isFrameworkReady
public boolean isFrameworkReady(boolean start)(Code)
Indicates whether or not the JBI framework has been fully started. This
method provides clients with a way of determining if the JBI framework
started up in passive mode as a result of on-demand initialization.
The 'start' parameter instructs the framework to
start completely if it has not already done so. If the framework has
already been started, the request to start again is ignored.
Parameters: start - requests that the framework start completely beforereturning. true if the framework is completely started, false otherwise.
This method is used to find out if start-on-deploy is enabled.
When this is enabled components are started automatically when
there is deployment for them.
This is controlled by the property com.sun.jbi.startOnDeploy.
By default start-on-deploy is enabled.
It is disabled only if com.sun.jbi.startOnDeploy=false.
This method is used to find out if start-on-verify is enabled.
When this is enabled components are started automatically when
an application has to be verified for that component.
This is controlled by the property com.sun.jbi.startOnVerify.
By default start-on-verify is enabled.
It is disabled only if com.sun.jbi.startOnVerify=false.