|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.imolinfo.jbi4corba.jbi.endpoint.Jbi4CorbaEndpoint
it.imolinfo.jbi4corba.jbi.endpoint.ConsumerEndpoint
public class ConsumerEndpoint
The Consumer Endpoint implementation class.
| Field Summary |
|---|
| Fields inherited from class it.imolinfo.jbi4corba.jbi.endpoint.Jbi4CorbaEndpoint |
|---|
RUNNING, SHUTDOWN, STOPPED |
| Constructor Summary | |
|---|---|
ConsumerEndpoint(QName serviceName,
String endpointName,
ConsumerServiceDescriptor consumerServiceDescriptor)
|
|
| Method Summary | |
|---|---|
void |
activate()
Registers the service and starts the ORB. |
protected static void |
addOperationToWsdlBinding(javax.wsdl.Definition wsdl,
javax.wsdl.PortType portType,
javax.wsdl.Binding wsdlBinding)
If there isn't the concrete part of the wsdl we must construct it using the abstract part and this method adds the 'operations' in the PortType to the binding. |
protected static javax.wsdl.Definition |
addSOAPExtensionsToWSDL(javax.wsdl.Definition def)
Adds SOAP extensions to wsdl. |
void |
deactivate()
Override. |
protected static javax.wsdl.PortType |
findFirstPortType(javax.wsdl.Definition def)
This method find the first PortType in the definition. |
ConsumerServiceDescriptor |
getConsumerServiceDescriptor()
Getter. |
ExchangeProcessor |
getProcessor()
Override. |
javax.jbi.messaging.MessageExchange.Role |
getRole()
Gets the provider role. |
void |
registerService()
this method has the following flow. |
protected javax.jbi.servicedesc.ServiceEndpoint |
retrieveProxiedEndpointDefinition()
Create a wsdl definition for a consumer endpoint. |
void |
sendAsynch(javax.jbi.messaging.MessageExchange me,
javax.jbi.messaging.DeliveryChannel channel)
This method is used to send asynchronously a MessageExchange. |
void |
setConsumerServiceDescriptor(ConsumerServiceDescriptor consumerServiceDescriptor)
Setter. |
void |
unregisterService()
Unregisters the service. |
void |
validate()
Validate the endpoint. |
| Methods inherited from class it.imolinfo.jbi4corba.jbi.endpoint.Jbi4CorbaEndpoint |
|---|
equals, getDefinition, getEndpointName, getEndpointStatus, getEndpointWSDL, getExchangeProcessor, getServiceDescription, getServiceEndpoint, getServiceName, getState, getSuManager, getSuName, getUniqueName, getUniqueName, hashCode, setDefinition, setEndpointStatus, setEndpointWSDL, setExchangeProcessor, setServiceDescription, setServiceEndpoint, setState, setSuManager, setSuName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerEndpoint(QName serviceName,
String endpointName,
ConsumerServiceDescriptor consumerServiceDescriptor)
consumerServiceDescriptor - The consumer service descriptor| Method Detail |
|---|
public void activate()
throws Jbi4CorbaException
activate in class Jbi4CorbaEndpointException - The exception
Jbi4CorbaException
public void sendAsynch(javax.jbi.messaging.MessageExchange me,
javax.jbi.messaging.DeliveryChannel channel)
throws javax.jbi.messaging.MessagingException
me - The MessageExchange.channel - Used to send directly the ME if the Endpoint is an Active
Consumer.
javax.jbi.messaging.MessagingException - Sending operation failure.public void deactivate()
deactivate in class Jbi4CorbaEndpointException - The exceptionpublic ExchangeProcessor getProcessor()
ConsumerExchangeProcessor.
public void registerService()
throws Jbi4CorbaDeployException
registerService in class Jbi4CorbaEndpointjavax.jbi.management.DeploymentException - The deployment exception
Jbi4CorbaDeployExceptionprotected static javax.wsdl.PortType findFirstPortType(javax.wsdl.Definition def)
def - The WSDL definition.
protected static void addOperationToWsdlBinding(javax.wsdl.Definition wsdl,
javax.wsdl.PortType portType,
javax.wsdl.Binding wsdlBinding)
wsdl - The WSDL definition.portType - A PortType.wsdlBinding - A Binding.
protected static javax.wsdl.Definition addSOAPExtensionsToWSDL(javax.wsdl.Definition def)
throws javax.wsdl.WSDLException
def - The WSDL definition.
javax.wsdl.WSDLExceptionpublic ConsumerServiceDescriptor getConsumerServiceDescriptor()
public void setConsumerServiceDescriptor(ConsumerServiceDescriptor consumerServiceDescriptor)
consumerServiceDescriptor - The consumer service descriptor
protected javax.jbi.servicedesc.ServiceEndpoint retrieveProxiedEndpointDefinition()
throws Jbi4CorbaDeployException
javax.jbi.management.DeploymentException - The deployment exception
Jbi4CorbaDeployException
public void validate()
throws Jbi4CorbaException
validate in class Jbi4CorbaEndpointJbi4EjbException - if some problem occurs
Jbi4CorbaException - if something go wrong
public void unregisterService()
throws Jbi4CorbaException
unregisterService in class Jbi4CorbaEndpointJbi4EjbException - if some problem occurs
Jbi4CorbaException - if something go wrongit.imolinfo.jbi4ejb.jbi.endpoint.Jbi4EjbEndpoint#unregisterService()public javax.jbi.messaging.MessageExchange.Role getRole()
getRole in class Jbi4CorbaEndpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||