Interface ServiceComponent
- All Superinterfaces:
ServiceComponentLifecycle
- All Known Implementing Classes:
AvalonServiceComponentImpl
,ServiceComponentImpl
This interface defines a service component singleton with
an arbitrary lifecycle.
- Author:
- Siegfried Goeschl
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Get the unique name of the service component instance.Returns the associates role entry parsed from the role configuration file.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 Details
-
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
-