org.jboss.kernel.plugins.registry
Class AbstractKernelRegistry
java.lang.Object
org.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.registry.AbstractKernelRegistry
- All Implemented Interfaces:
- KernelEventEmitter, KernelObject, KernelRegistry
- Direct Known Subclasses:
- BasicKernelRegistry
public abstract class AbstractKernelRegistry
- extends AbstractKernelObject
- implements KernelRegistry
Abstract Kernel registry.
- Version:
- $Revision: 76180 $
- Author:
- Adrian Brock, Les A. Hazlewood, Ales Justin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factories
protected List<KernelRegistryPlugin> factories
- The registry factories
AbstractKernelRegistry
public AbstractKernelRegistry()
throws Exception
- Create an abstract kernel registry
- Throws:
Exception
- for any error
addKernelRegistryFactory
public void addKernelRegistryFactory(KernelRegistryPlugin factory)
- Add a kernel registry factory
- Parameters:
factory
- the factory to add
removeKernelRegistryFactory
public void removeKernelRegistryFactory(KernelRegistryPlugin factory)
- Remove a kernel registry factory
- Parameters:
factory
- the factory to remove
findEntry
public KernelRegistryEntry findEntry(Object name)
- Description copied from interface:
KernelRegistry
- Find a registration
- Specified by:
findEntry
in interface KernelRegistry
- Parameters:
name
- the name of the object
- Returns:
- the registration
getEntry
public KernelRegistryEntry getEntry(Object name)
- Description copied from interface:
KernelRegistry
- Get a registration
- Specified by:
getEntry
in interface KernelRegistry
- Parameters:
name
- the name of the object
- Returns:
- the registration
containsEntry
public boolean containsEntry(Object name)
- Description copied from interface:
KernelRegistry
- Returns whether or not there exists a KernelRegistryEntry with the
given name.
- Specified by:
containsEntry
in interface KernelRegistry
- Parameters:
name
- name of the KernelRegistryEntry
- Returns:
- true if there exists a KernelRegistryEntry with the given name,
false otherwise.
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.