public abstract class BasicFactoryElement extends Object implements FactoryLifecycle, Serializable
Constructor and Description |
---|
BasicFactoryElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
addPeriodicTask(Method m,
long sleepInterval) |
protected void |
addPeriodicTask(String methodName,
long sleepInterval) |
Object |
factoryLookup(String path) |
String |
getComponentAlias() |
String |
getComponentDescription() |
String |
getComponentName() |
String |
getComponentScope() |
void |
init()
Called after constructing the instance and before setting the default
properties
|
void |
setComponentAlias(String alias) |
void |
shutdown()
Called when the Factory is going down, to allow the release of resources.
|
void |
start()
Called after constructing the instance and setting the default properties.
|
void |
stop()
Called by the factory before setting a group of properties.
|
public void init() throws Exception
init
in interface FactoryLifecycle
Exception
public void start() throws Exception
start
in interface FactoryLifecycle
Exception
public void stop() throws Exception
stop
in interface FactoryLifecycle
Exception
public void shutdown() throws Exception
shutdown
in interface FactoryLifecycle
Exception
public final String getComponentName()
public final String getComponentScope()
public final String getComponentDescription()
public void setComponentAlias(String alias)
public String getComponentAlias()
protected void addPeriodicTask(String methodName, long sleepInterval)
protected void addPeriodicTask(Method m, long sleepInterval)
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.