|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GeronimoManagedBean
Interface provided by proxies generated by the Geronimo proxy managers. This lets a client call any of these methods on a proxy representing any Geronimo GBean. However, this should not be used on any arbitrary GBean reference, as it might not be a proxy generated by Geronimo (for example, if you're running the GBean in Spring). Note that this includes the content of the JSR-77 StateManageable type, as well as getObjectName from the JSR-77 J2EEManagedObject type. However, it is not explicitly related to JSR-77 as that is not required in order to use the Geronimo kernel.
Method Summary | |
---|---|
String |
getObjectName()
Gets the unique name of this object. |
long |
getStartTime()
Gets the start time of this component |
int |
getState()
Gets the state of this component as an int. |
State |
getStateInstance()
Gets the state of this component as a State instance. |
void |
start()
Transitions the component to the starting state. |
void |
startRecursive()
Transitions the component to the starting state. |
void |
stop()
Transitions the component to the stopping state. |
Method Detail |
---|
String getObjectName()
int getState()
to obtain the State instance
State getStateInstance()
long getStartTime()
void start() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the stopped or failed statevoid startRecursive() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the STOPPED or FAILED statevoid stop() throws Exception, IllegalStateException
Exception
- if a problem occurs during the transition
IllegalStateException
- if this interceptor is not in the STOPPED or FAILED state
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |