|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.gjndi.binding.GBeanBinding
public class GBeanBinding
Field Summary | |
---|---|
static GBeanInfo |
GBEAN_INFO
|
Constructor Summary | |
---|---|
GBeanBinding(Context context,
String name,
AbstractNameQuery abstractNameQuery,
Kernel kernel)
|
Method Summary | |
---|---|
protected void |
addBinding(AbstractName abstractName)
Binds the specified gbean. |
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
static GBeanInfo |
getGBeanInfo()
|
protected Object |
preprocessVaue(AbstractName abstractName,
Object value)
Preprocess the value before it is bound. |
protected void |
removeBinding(AbstractName abstractName)
Unbinds the specified gbean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public GBeanBinding(Context context, String name, AbstractNameQuery abstractNameQuery, Kernel kernel)
Method Detail |
---|
public void doStart()
GBeanLifecycle
doStart
in interface GBeanLifecycle
public void doStop()
GBeanLifecycle
doStop
in interface GBeanLifecycle
public void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
protected void addBinding(AbstractName abstractName) throws NamingException
abstractName
- the abstract name of the gbean to bind
NamingException
- if an error occurs during bindingprotected void removeBinding(AbstractName abstractName)
abstractName
- the abstract name of the gbean to unbindprotected Object preprocessVaue(AbstractName abstractName, Object value) throws NamingException
abstractName
- the abstract name of the gbean to bindvalue
- the gbean instance
NamingException
public static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |