public class SuspendableAdapter extends Object implements ResourceAdapter, Suspendable, Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
endpointActivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
throws ResourceException
{
throw new NotSupportedException();
}
|
void |
endpointDeactivation(MessageEndpointFactory endpointFactory,
ActivationSpec spec)
public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
{
}
|
XAResource[] |
getXAResources(ActivationSpec[] spec)
public XAResource[] getXAResources(ActivationSpec[] spec) throws ResourceException
{
throw new NotSupportedException();
}
|
void |
init(ResourceAdapter ra,
Properties props)
public void init(ResourceAdapter ra, Properties props) throws ResourceException
{
}
|
boolean |
isInboundSuspended(MessageEndpointFactory endptFactory)
public boolean isInboundSuspended(MessageEndpointFactory endptFactory) throws ResourceException
{
return false;
}
|
boolean |
isSuspended(int type)
public boolean isSuspended(int type)
{
return false;
}
|
void |
resume(int type,
Properties props)
public void resume(int type, Properties props) throws ResourceException
{
}
|
void |
resumeInbound(MessageEndpointFactory endptFactory,
Properties props)
public void resumeInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
{
}
|
void |
start(BootstrapContext context)
public void start(BootstrapContext context) throws ResourceAdapterInternalException
{
}
|
void |
startVersioning(ResourceAdapter ra,
Properties props)
public void startVersioning(ResourceAdapter ra, Properties props) throws ResourceException
{
}
|
void |
stop()
public void stop()
{
}
|
boolean |
supportsInit()
public boolean supportsInit()
{
return false;
}
|
boolean |
supportsSuspend(int type)
public boolean supportsSuspend(int type)
{
return false;
}
|
boolean |
supportsVersioning()
public boolean supportsVersioning()
{
return false;
}
|
void |
suspend(int type,
Properties props)
public void suspend(int type, Properties props) throws ResourceException
{
}
|
void |
suspendInbound(MessageEndpointFactory endptFactory,
Properties props)
public void suspendInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
{
}
|
public void start(BootstrapContext context) throws ResourceAdapterInternalException
public void start(BootstrapContext context) throws ResourceAdapterInternalException
{
}
start in interface ResourceAdapterResourceAdapterInternalExceptionpublic void stop()
public void stop()
{
}
stop in interface ResourceAdapterpublic void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) throws ResourceException
public void endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
throws ResourceException
{
throw new NotSupportedException();
}
endpointActivation in interface ResourceAdapterResourceExceptionpublic void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
public void endpointDeactivation(MessageEndpointFactory endpointFactory, ActivationSpec spec)
{
}
endpointDeactivation in interface ResourceAdapterpublic XAResource[] getXAResources(ActivationSpec[] spec) throws ResourceException
public XAResource[] getXAResources(ActivationSpec[] spec) throws ResourceException
{
throw new NotSupportedException();
}
getXAResources in interface ResourceAdapterResourceExceptionpublic void suspend(int type,
Properties props)
throws ResourceException
public void suspend(int type, Properties props) throws ResourceException
{
}
suspend in interface Suspendabletype - An int from 1 to 7 specifying the type of suspension being
requested (i.e. Suspendable.INBOUND, .OUTBOUND, .WORK or the sum of
one or more of these, or the value Suspendable.ALL )props - Optional Properties (or null) to be used for ResourceAdapter
specific purposesResourceException - If the resource adapter can't complete the
requestpublic void suspendInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
public void suspendInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
{
}
suspendInbound in interface SuspendableendptFactory - the factory for message endpoints that is being
suspendedprops - Optional Properties (or null) to be used for ResourceAdapter
specific purposesResourceException - If the resource adapter can't complete the
requestpublic void resumeInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
public void resumeInbound(MessageEndpointFactory endptFactory, Properties props) throws ResourceException
{
}
resumeInbound in interface SuspendableendptFactory - the factory for message endpoints that is being
resumedprops - Optional Properties (or null) to be used for ResourceAdapter
specific purposesResourceException - If the resource adapter can't complete the
requestpublic void resume(int type,
Properties props)
throws ResourceException
public void resume(int type, Properties props) throws ResourceException
{
}
resume in interface Suspendabletype - An int from 1 to 7 specifying the type of resume being
requested (i.e. Suspendable.INBOUND, .OUTBOUND, .WORK or the sum of
one or more of these, or the value Suspendable.ALL )props - Optional Properties (or null) to be used for ResourceAdapter
specific purposesResourceException - If the resource adapter can't complete the
requestpublic boolean supportsSuspend(int type)
public boolean supportsSuspend(int type)
{
return false;
}
supportsSuspend in interface Suspendabletype - An int from 1 to 7 specifying the type of suspend this inquiry
is about (i.e. Suspendable.INBOUND, .OUTBOUND, .WORK or the sum of
one or more of these, or the value Suspendable.ALL )public boolean isSuspended(int type)
public boolean isSuspended(int type)
{
return false;
}
isSuspended in interface Suspendabletype - An int from 1 to 7 specifying the type of activity
requested (i.e. Suspendable.INBOUND, .OUTBOUND, .WORK or the sum of
one or more of these, or the value Suspendable.ALL )public boolean isInboundSuspended(MessageEndpointFactory endptFactory) throws ResourceException
public boolean isInboundSuspended(MessageEndpointFactory endptFactory) throws ResourceException
{
return false;
}
isInboundSuspended in interface SuspendableendptFactory - the endpoint factoryResourceExceptionpublic boolean supportsInit()
public boolean supportsInit()
{
return false;
}
supportsInit in interface Suspendablepublic boolean supportsVersioning()
public boolean supportsVersioning()
{
return false;
}
supportsVersioning in interface Suspendablepublic void startVersioning(ResourceAdapter ra, Properties props) throws ResourceException
public void startVersioning(ResourceAdapter ra, Properties props) throws ResourceException
{
}
startVersioning in interface Suspendablera - The new ResourceAdapter JavaBeanprops - Properties associated with the versioning
when it can be undeployedResourceException - If something goes wrongpublic void init(ResourceAdapter ra, Properties props) throws ResourceException
public void init(ResourceAdapter ra, Properties props) throws ResourceException
{
}
init in interface Suspendablera - The old version of the resource adapter that is currently runningprops - Properties associated with the versioning operationResourceException - If the init() fails.