|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 GBeanLifecyclepublic void doStop()
GBeanLifecycle
doStop in interface GBeanLifecyclepublic 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 unbind
protected Object preprocessVaue(AbstractName abstractName,
Object value)
throws NamingException
abstractName - the abstract name of the gbean to bindvalue - the gbean instance
NamingExceptionpublic static GBeanInfo getGBeanInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||