org.jboss.jca.core.spi.rar
Interface Endpoint


public interface Endpoint

An endpoint representation

Author:
Jesper Pedersen

Method Summary
 void activate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
          Activate an endpoint
 void deactivate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory, javax.resource.spi.ActivationSpec spec)
          Deactivate an endpoint
 

Method Detail

activate

void activate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
              javax.resource.spi.ActivationSpec spec)
              throws javax.resource.ResourceException
Activate an endpoint

Parameters:
endpointFactory - The message endpoint factory that should be used for the endpoint
spec - The activation spec that should be used for the endpoint
Throws:
javax.resource.ResourceException - Thrown if an error occurs

deactivate

void deactivate(javax.resource.spi.endpoint.MessageEndpointFactory endpointFactory,
                javax.resource.spi.ActivationSpec spec)
                throws javax.resource.ResourceException
Deactivate an endpoint

Parameters:
endpointFactory - The message endpoint factory that should be used for the endpoint
spec - The activation spec that should be used for the endpoint
Throws:
javax.resource.ResourceException - Thrown if an error occurs


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)