public class AdminObjectWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Object |
adminObject |
protected ResourceAdapterWrapper |
resourceAdapterWrapper |
| Constructor and Description |
|---|
AdminObjectWrapper(String adminObjectInterface,
String adminObjectClass,
ResourceAdapterWrapper resourceAdapterWrapper,
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.
|
String |
getAdminObjectClass()
Returns class of wrapped AdminObject.
|
String |
getAdminObjectInterface() |
protected ResourceAdapterWrapper resourceAdapterWrapper
protected Object adminObject
public AdminObjectWrapper(String adminObjectInterface, String adminObjectClass, ResourceAdapterWrapper resourceAdapterWrapper, ClassLoader cl, javax.validation.ValidatorFactory validatorFactory) throws IllegalAccessException, InstantiationException, ClassNotFoundException
adminObjectInterface - Interface the proxy will implement.adminObjectClass - Class of admin object to be wrapped.IllegalAccessExceptionInstantiationExceptionClassNotFoundExceptionpublic String getAdminObjectInterface()
public String getAdminObjectClass()
public void doStart()
throws Exception
Exception - if the target failed to start; this will cause a transition to the failed statepublic void doStop()
throws Exception
Exception - if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
Copyright © 2023. All rights reserved.