|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.loading.LoaderRepositoryFactory
A factory for LoaderRepository instances. This is used to obtain repository instances for scoped class loading.
| Nested Class Summary | |
static class |
LoaderRepositoryFactory.LoaderRepositoryConfig (src)
A class that represents the configuration of the a LoaderRepository. |
static interface |
LoaderRepositoryFactory.LoaderRepositoryConfigParser (src)
The interface representing a LoaderRepository configuration parser. |
| Field Summary | |
static ObjectName (src) |
DEFAULT_LOADER_REPOSITORY
The JMX name of the parent LoaderRepository |
| Method Summary | |
static void |
createLoaderRepository(MBeanServer (src) server,
LoaderRepositoryFactory.LoaderRepositoryConfig (src) config)
Create and configure a LoaderRepository instance using the given config if there is not already an instance registered. |
static void |
createLoaderRepository(MBeanServer (src) server,
java.lang.String repositoryClassName,
ObjectName (src) repositoryName)
Create a LoaderRepository instance of type repositoryClassName and register it under repositoryName if there is not already an instance registered. |
static void |
destroyLoaderRepository(MBeanServer (src) server,
ObjectName (src) repositoryName)
|
static LoaderRepositoryFactory.LoaderRepositoryConfig (src) |
parseRepositoryConfig(org.w3c.dom.Element config)
Given a loader-repository element fragment like: |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static ObjectName (src) DEFAULT_LOADER_REPOSITORY
| Method Detail |
public static LoaderRepositoryFactory.LoaderRepositoryConfig (src) parseRepositoryConfig(org.w3c.dom.Element config)
throws MalformedObjectNameException (src)
config - the xml loader-repository element
MalformedObjectNameException (src)
public static void createLoaderRepository(MBeanServer (src) server,
java.lang.String repositoryClassName,
ObjectName (src) repositoryName)
throws JMException (src)
server - the MBeanServer to register withrepositoryClassName - the class which implements LoaderRepositoryrepositoryName - the JMX name to register under
JMException (src) - thrown on any failure to create or register the repository
public static void createLoaderRepository(MBeanServer (src) server,
LoaderRepositoryFactory.LoaderRepositoryConfig (src) config)
throws JMException (src)
server - the MBeanServer to register withconfig - the configuration information which will be used to create
register and configure the LoaderRepository instance.
JMException (src) - thrown on any failure to create or register the repository
public static void destroyLoaderRepository(MBeanServer (src) server,
ObjectName (src) repositoryName)
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||