All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----com.sun.jaw.impl.agent.services.mlet.MLetSrv
MLET tag. When a text file is loaded,
each m-bean specified in the file is instantiated.
An m-bean instantiated by the m-let service is registered in one of the following ways:
initCmf method is defined for the
m-bean, the m-let service invokes it to register the m-bean. The value of the NAME
attribute in the MLET tag is passed to this method as the ObjectName
argument.
initCmf method is not defined for the
m-bean, but the NAME attribute of the MLET tag is specified,
the m-let service invokes the addObject or addDBObject method of the
framework class to
register the m-bean depending on the value of the PERSISTENT attribute in the MLET tag.
initCmf method is not defined for the
m-bean, and the NAME attribute of the MLET tag is not specified,
the m-let service does not invoke a method for registering the m-bean. In this case, it is
still possible to register the m-bean. To do this, invoke the addObject or
addDBObject method of the
framework class for each
entry in the vector returned by the performLocalLoadURL method.
This is possible only within the code of an agent, not within the
code of a manager.secure in the object name.
secure property is specified then the service assumes unsecure mode to be enabled.
MLET tags that define the m-beans to be added to the agent.
MLET tags that define the m-beans to be added to the agent.
MLET tags that define the m-beans to be added to the agent.
MLET tags that define the m-beans to be added to the agent.
MLET tags that define the m-beans to be added to the agent.
MLET tags that define the m-beans to be added to the agent.
public MLetSrv()
public void initCmf(Framework cmf,
ObjectName name,
boolean db,
ModificationList list) throws InstanceAlreadyExistException
public void deleteCmf()
public void performLoadURL(URL url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a URL.
This method is allowed in the code of an agent or a manager.
It is similar to performLocalLoadURL (allowed only in agent code)
or performRemoteLoadURL (allowed only in manager code) except that it does
not return.
MLET tag.
MLET tag is not specified.
null.public void performLoadURL(String url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a string representation of its URL.
This method is allowed in the code of an agent or a manager.
It is similar to performLocalLoadURL (allowed only in agent code)
or performRemoteLoadURL (allowed only in manager code) except that it does
not return.
MLET tag.
MLET tag is not specified.
null.public Vector performLocalLoadURL(URL url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a URL.
This method is allowed only in the code of an agent.
MLET tag in the m-let text file loaded.
Each entry specifies either the reference of the m-bean instantiated, or a throwable object
(that is, an error or an exception) if the m-bean could not be instantiated.
MLET tag.
MLET tag is not specified.
null.public Vector performLocalLoadURL(String url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a string representation of its URL.
This method is allowed only in the code of an agent.
MLET tag in the m-let text file loaded.
Each entry specifies either the reference of the m-bean instantiated, or a throwable object
(that is, an error or an exception) if the m-bean could not be instantiated.
MLET tag.
MLET tag is not specified.
null.public Vector performRemoteLoadURL(URL url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a URL.
This method is allowed only in the code of a manager.
MLET tag in the m-let text file loaded.
Each entry specifies either an instance of class MLet
representing the parameters of the MLET tag for the m-bean instantiated, or a throwable object
(that is, an error or an exception) if the m-bean could not be instantiated.
MLET tag.
MLET tag is not specified.
null.public Vector performRemoteLoadURL(String url) throws ServiceNotFoundException
MLET tags that define the m-beans to be added to the agent.
The location of the text file is specified by a string representation of its URL.
This method is allowed only in the code of a manager.
MLET tag in the m-let text file loaded.
Each entry specifies either an instance of class MLet
representing the parameters of the MLET tag for the m-bean instantiated, or a throwable object
(that is, an error or an exception) if the m-bean could not be instantiated.
MLET tag.
MLET tag is not specified.
null.
public URL performGetResource(URL codebase,
String resource)
public URL performGetResource(String codebase,
String resource)
public InputStream performGetResourceAsStream(URL codebase,
String resource)
public InputStream performGetResourceAsStream(String codebase,
String resource)
public static synchronized MLetClassLoader newMLetClassLoader(URL codebase,
Framework cmf)
Creates a new class loader to be used for loading the classes specified by an MLET tag.
If an instance of MLetClassLoader for the specified code base already exists, it is used.
Otherwise, a new instance is created and registered with the repository.
null.
public static synchronized MLetClassLoader getMLetClassLoader(URL codebase)
Gets the m-let class loader instantiated for a given code base.
public static synchronized void flushMLetClassLoader(URL codebase)
Flushes the m-let class loader instantiated for a given code base.
public String getLibraryDirectory()
The value of the directory defaults to /tmp (Solaris)
or <installDir>\SUNWconn\jaw\tmp (Windows NT).
public void setLibraryDirectory(String libdir)
The value of the directory defaults to /tmp (Solaris)
or <installDir>\SUNWconn\jaw\tmp (Windows NT).
public static String getClassVersion()
All Packages Class Hierarchy This Package Previous Next Index