|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.connector.AdminObjectWrapper
public class AdminObjectWrapper
Wrapper around AdminObject that manages the AdminObject lifecycle.
| Field Summary | |
|---|---|
protected java.lang.Object |
adminObject
|
protected ResourceAdapterWrapper |
resourceAdapterWrapper
|
| Constructor Summary | |
|---|---|
AdminObjectWrapper(java.lang.String adminObjectInterface,
java.lang.String adminObjectClass,
ResourceAdapterWrapper resourceAdapterWrapper,
java.lang.ClassLoader cl,
javax.validation.ValidatorFactory validatorFactory)
Normal managed constructor. |
|
| Method Summary | |
|---|---|
void |
doFail()
Fails the target. |
void |
doStart()
Starts the AdminObject. |
void |
doStop()
Stops the target. |
java.lang.String |
getAdminObjectClass()
Returns class of wrapped AdminObject. |
java.lang.String |
getAdminObjectInterface()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ResourceAdapterWrapper resourceAdapterWrapper
protected java.lang.Object adminObject
| Constructor Detail |
|---|
public AdminObjectWrapper(java.lang.String adminObjectInterface,
java.lang.String adminObjectClass,
ResourceAdapterWrapper resourceAdapterWrapper,
java.lang.ClassLoader cl,
javax.validation.ValidatorFactory validatorFactory)
throws java.lang.IllegalAccessException,
java.lang.InstantiationException,
java.lang.ClassNotFoundException
adminObjectInterface - Interface the proxy will implement.adminObjectClass - Class of admin object to be wrapped.
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.ClassNotFoundException| Method Detail |
|---|
public java.lang.String getAdminObjectInterface()
public java.lang.String getAdminObjectClass()
public void doStart()
throws java.lang.Exception
java.lang.Exception - if the target failed to start; this will cause a transition to the failed state
public void doStop()
throws java.lang.Exception
java.lang.Exception - if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||