it.imolinfo.jbi4ejb.jbi.endpoint
Class Jbi4EjbProviderEndpoint

java.lang.Object
  extended by it.imolinfo.jbi4ejb.jbi.endpoint.Jbi4EjbEndpoint
      extended by it.imolinfo.jbi4ejb.jbi.endpoint.Jbi4EjbProviderEndpoint
All Implemented Interfaces:
java.io.Serializable

public class Jbi4EjbProviderEndpoint
extends Jbi4EjbEndpoint

The Class Jbi4EjbProviderEndpoint.

Author:
Marco Piraccini
See Also:
Serialized Form

Field Summary
 
Fields inherited from class it.imolinfo.jbi4ejb.jbi.endpoint.Jbi4EjbEndpoint
RUNNING, SHUTDOWN, STOPPED
 
Constructor Summary
Jbi4EjbProviderEndpoint(javax.xml.namespace.QName serviceName, java.lang.String endpointName)
          Instantiates a new jbi4 ejb provider endpoint.
 
Method Summary
 ProviderServiceDescriptor getServiceDescriptor()
          Gets the service descriptor.
 org.codehaus.xfire.service.Service getXfireService()
          Gets the xfire service.
 void registerService()
          Creates the EJB proxy and registers the xfire service.
 void setServiceDescriptor(ProviderServiceDescriptor serviceDescriptor)
          Sets the service descriptor.
 void unregisterService()
          Unregisters the service.
 void validate()
          Validate the endpoint.
 
Methods inherited from class it.imolinfo.jbi4ejb.jbi.endpoint.Jbi4EjbEndpoint
equals, getDefinition, getEndpointName, getEndpointStatus, getEndpointWSDL, getExchangeProcessor, getServiceDescription, getServiceEndpoint, getServiceName, getState, getSuManager, getSuName, getUniqueName, hashCode, setDefinition, setEndpointStatus, setEndpointWSDL, setExchangeProcessor, setServiceDescription, setServiceEndpoint, setState, setSuManager, setSuName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jbi4EjbProviderEndpoint

public Jbi4EjbProviderEndpoint(javax.xml.namespace.QName serviceName,
                               java.lang.String endpointName)
                        throws Jbi4EjbException
Instantiates a new jbi4 ejb provider endpoint.

Parameters:
serviceName - the service name
endpointName - the endpoint name
Throws:
Jbi4EjbException - if some problem occurs
Method Detail

registerService

public void registerService()
                     throws Jbi4EjbException
Creates the EJB proxy and registers the xfire service.

Specified by:
registerService in class Jbi4EjbEndpoint
Throws:
Jbi4EjbException - if some problem occurs

unregisterService

public void unregisterService()
                       throws Jbi4EjbException
Unregisters the service.

Specified by:
unregisterService in class Jbi4EjbEndpoint
Throws:
Jbi4EjbException - if some problem occurs
See Also:
Jbi4EjbEndpoint.unregisterService()

validate

public void validate()
              throws Jbi4EjbException
Validate the endpoint. (now do noting)

Specified by:
validate in class Jbi4EjbEndpoint
Throws:
Jbi4EjbException - if some problem occurs

getServiceDescriptor

public ProviderServiceDescriptor getServiceDescriptor()
Gets the service descriptor.

Returns:
the service descriptor

setServiceDescriptor

public void setServiceDescriptor(ProviderServiceDescriptor serviceDescriptor)
Sets the service descriptor.

Parameters:
serviceDescriptor - the new service descriptor

getXfireService

public org.codehaus.xfire.service.Service getXfireService()
Gets the xfire service.

Returns:
the xfire service


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.