org.apache.fulcrum.yaafi.framework.component
Interface ServiceComponent

All Superinterfaces:
ServiceComponentLifecycle
All Known Implementing Classes:
AvalonServiceComponentImpl, ServiceComponentImpl

public interface ServiceComponent
extends ServiceComponentLifecycle

This interface defines a service component singleton with an arbitrary lifecycle.

Author:
Siegfried Goeschl

Method Summary
 String getName()
          Get the unique name of the service component instance.
 RoleEntry getRoleEntry()
          Returns the associates role entry parsed from the role configuration file.
 String getShorthand()
          Get the shorthand of the service component instance.
 
Methods inherited from interface org.apache.fulcrum.yaafi.framework.component.ServiceComponentLifecycle
decommision, dispose, getInstance, incarnate, loadImplemtationClass, reconfigure, setConfiguration, setContext, setLogger, setParameters, setServiceManager
 

Method Detail

getName

String getName()
Get the unique name of the service component instance.

Returns:
the name of the service component

getShorthand

String getShorthand()
Get the shorthand of the service component instance. The shorthand is usually used to lookup the configuration entries.

Returns:
the shorthand of the service component

getRoleEntry

RoleEntry getRoleEntry()
Returns the associates role entry parsed from the role configuration file.

Returns:
the role entry


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.