de.bea.domingo.connector
Class DummyResourceAdapter

java.lang.Object
  extended by de.bea.domingo.connector.DummyResourceAdapter
All Implemented Interfaces:
javax.resource.spi.ResourceAdapter

public final class DummyResourceAdapter
extends java.lang.Object
implements javax.resource.spi.ResourceAdapter

Author:
Kurt Riede

Constructor Summary
DummyResourceAdapter()
          Constructor.
 
Method Summary
 void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0, javax.resource.spi.ActivationSpec arg1)
          This method simply does nothing since endpoint activation is not supported.
 void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0, javax.resource.spi.ActivationSpec arg1)
          This method simply does nothing since endpoint activation is not supported.
 javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
          This method always returns null to indicate that the message inflow contract not supported.
 void start(javax.resource.spi.BootstrapContext bootstrapContext)
          
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyResourceAdapter

public DummyResourceAdapter()
Constructor.

Method Detail

start

public void start(javax.resource.spi.BootstrapContext bootstrapContext)
           throws javax.resource.spi.ResourceAdapterInternalException

Specified by:
start in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.spi.ResourceAdapterInternalException
See Also:
ResourceAdapter.start(javax.resource.spi.BootstrapContext)

stop

public void stop()
Specified by:
stop in interface javax.resource.spi.ResourceAdapter
See Also:
ResourceAdapter.stop()

getXAResources

public javax.transaction.xa.XAResource[] getXAResources(javax.resource.spi.ActivationSpec[] arg0)
                                                 throws javax.resource.ResourceException
This method always returns null to indicate that the message inflow contract not supported.

Specified by:
getXAResources in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException
See Also:
ResourceAdapter.getXAResources(javax.resource.spi.ActivationSpec[])

endpointActivation

public void endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
                               javax.resource.spi.ActivationSpec arg1)
                        throws javax.resource.ResourceException
This method simply does nothing since endpoint activation is not supported.

Specified by:
endpointActivation in interface javax.resource.spi.ResourceAdapter
Throws:
javax.resource.ResourceException
See Also:
ResourceAdapter.endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)

endpointDeactivation

public void endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory arg0,
                                 javax.resource.spi.ActivationSpec arg1)
This method simply does nothing since endpoint activation is not supported.

Specified by:
endpointDeactivation in interface javax.resource.spi.ResourceAdapter
See Also:
ResourceAdapter.endpointDeactivation(javax.resource.spi.endpoint.MessageEndpointFactory, javax.resource.spi.ActivationSpec)


Domingo 1.0 Java-API