org.jboss.kernel.plugins.registry.basic
Class BasicKernelRegistryFactory
java.lang.Object
org.jboss.kernel.plugins.registry.basic.BasicKernelRegistryFactory
- All Implemented Interfaces:
- KernelRegistryPlugin
public class BasicKernelRegistryFactory
- extends Object
- implements KernelRegistryPlugin
Basic Kernel registry factory.
- Version:
- $Revision: 59020 $
- Author:
- Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entries
protected Map<Object,KernelRegistryEntry> entries
- The registred entries
BasicKernelRegistryFactory
public BasicKernelRegistryFactory()
throws Exception
- Create a new basic registry factory
- Throws:
Exception
- for any error
registerEntry
public void registerEntry(Object name,
KernelRegistryEntry entry)
unregisterEntry
public KernelRegistryEntry unregisterEntry(Object name)
getEntry
public KernelRegistryEntry getEntry(Object name)
- Description copied from interface:
KernelRegistryPlugin
- Get a registration
- Specified by:
getEntry
in interface KernelRegistryPlugin
- Parameters:
name
- the name of the object
- Returns:
- the registration
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.