net.sf.panoptes.model.component.registry
Class ComponentEntry

java.lang.Object
  |
  +--net.sf.panoptes.model.component.registry.ComponentEntry

public class ComponentEntry
extends java.lang.Object

Represents a IComponent entry in the Registry. Original code from JBoss.

Version:
0.1
Author:
dag@liodden.no
See Also:
IComponent, ComponentRegistry

Constructor Summary
ComponentEntry(ComponentName componentName, Component component)
          Construct a new component registration entry.
 
Method Summary
 Component getComponent()
          Retrieve the component.
 ComponentName getComponentName()
          Retrieve the object name with the component is registered.
 java.lang.String getResourceClassName()
          Retrieve the class name for the component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentEntry

public ComponentEntry(ComponentName componentName,
                      Component component)
Construct a new component registration entry.

Parameters:
componentName - the name with which the component is registered
Method Detail

getComponentName

public ComponentName getComponentName()
Retrieve the object name with the component is registered.

Returns:
the object name

getResourceClassName

public java.lang.String getResourceClassName()
Retrieve the class name for the component.

Returns:
the class name

getComponent

public Component getComponent()
Retrieve the component.

Returns:
the component


Copyright © 2003 . All Rights Reserved.