public class AdminObjectWrapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object |
adminObject |
protected ResourceAdapterWrapper |
resourceAdapterWrapper |
| Constructor and Description |
|---|
AdminObjectWrapper(java.lang.String adminObjectInterface,
java.lang.String adminObjectClass,
ResourceAdapterWrapper resourceAdapterWrapper,
java.lang.ClassLoader cl,
javax.validation.ValidatorFactory validatorFactory)
Normal managed constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
protected ResourceAdapterWrapper resourceAdapterWrapper
protected java.lang.Object adminObject
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.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.ClassNotFoundExceptionpublic 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 statepublic 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()
Copyright © 2003-2016 The Apache Software Foundation. All Rights Reserved.