org.apache.avalon.excalibur.container
Class Entry

java.lang.Object
  |
  +--org.apache.avalon.excalibur.container.Entry
All Implemented Interfaces:
org.apache.avalon.framework.component.Component

public class Entry
extends java.lang.Object
implements org.apache.avalon.framework.component.Component

Contains information about a particular instance of contained component. This would contain name, configuration data, parameters, log entries etc. Basically instance data.

Author:
Peter Donald

Constructor Summary
Entry()
           
 
Method Summary
 Info getInfo()
          Retrieve Info describing instance.
 java.lang.Object getInstance()
          Retrieve instance of component.
 Locator getLocator()
          Retrieve Locator describing access path for instance.
 State getState()
          Retrieve state of a component.
 void setInfo(Info info)
          Mutator for info property.
 void setInstance(java.lang.Object instance)
          Set instance of component.
 void setLocator(Locator locator)
          Mutator for locator property.
 void setState(State state)
          set state of a component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Method Detail

getInfo

public Info getInfo()
Retrieve Info describing instance.
Returns:
the info

setInfo

public void setInfo(Info info)
Mutator for info property.
Parameters:
info - the Info

getLocator

public Locator getLocator()
Retrieve Locator describing access path for instance.
Returns:
the locator

setLocator

public void setLocator(Locator locator)
Mutator for locator property.
Parameters:
locator - the Locator

getInstance

public java.lang.Object getInstance()
Retrieve instance of component.
Returns:
the component instance

setInstance

public void setInstance(java.lang.Object instance)
Set instance of component.
Returns:
the component instance

getState

public State getState()
Retrieve state of a component.
Returns:
the components state

setState

public void setState(State state)
set state of a component.
Parameters:
state - the components state


Copyright © 2001 Apache Jakarta Project. All Rights Reserved.