|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4corba.jbi.endpoint.Jbi4CorbaEndpoint
public abstract class Jbi4CorbaEndpoint
The Class Jbi4CorbaEndpoint.
Field Summary | |
---|---|
static int |
RUNNING
The Constant RUNNING. |
static int |
SHUTDOWN
The Constant SHUTDOWN. |
static int |
STOPPED
The Constant STOPPED. |
Constructor Summary | |
---|---|
Jbi4CorbaEndpoint()
Empty constructor. |
|
Jbi4CorbaEndpoint(QName serviceName,
String endpointName)
Instantiates a new jbi4 Corba endpoint. |
Method Summary | |
---|---|
abstract void |
activate()
Activate the endpoint. |
abstract void |
deactivate()
Deactivate the endpoint. |
boolean |
equals(Object obj)
the endpoints are equals if the servicename, the endpointname and the role are the same. |
javax.wsdl.Definition |
getDefinition()
Gets the definition. |
String |
getEndpointName()
Gets the endpoint name. |
com.sun.jbi.eManager.provider.EndpointStatus |
getEndpointStatus()
Gets the endpoint status. |
File |
getEndpointWSDL()
Gets the endpoint WSDL. |
ExchangeProcessor |
getExchangeProcessor()
Gets the exchange processor. |
abstract javax.jbi.messaging.MessageExchange.Role |
getRole()
Gets the role in MessageExchange. |
Document |
getServiceDescription()
Gets the service description. |
javax.jbi.servicedesc.ServiceEndpoint |
getServiceEndpoint()
Gets the service endpoint. |
QName |
getServiceName()
Gets the service name. |
int |
getState()
Gets the state. |
Jbi4CorbaSUManager |
getSuManager()
Gets the su manager. |
String |
getSuName()
Gets the su name. |
String |
getUniqueName()
Utility method to create the unique names with explicit arguments. |
static String |
getUniqueName(String aServiceNamespaceURI,
String aServiceName,
String aEndpointName,
boolean isInbound)
|
int |
hashCode()
hashcode implementation. |
abstract void |
registerService()
Register service. |
void |
setDefinition(javax.wsdl.Definition definition)
Sets the definition. |
void |
setEndpointStatus(com.sun.jbi.eManager.provider.EndpointStatus endpointStatus)
Sets the endpoint status. |
void |
setEndpointWSDL(File endpointWSDL)
Sets the endpoint WSDL. |
void |
setExchangeProcessor(ExchangeProcessor exchangeProcessor)
Sets the exchange processor. |
void |
setServiceDescription(Document serviceDescription)
Sets the service description. |
void |
setServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)
Sets the service endpoint. |
void |
setState(int state)
Sets the state. |
void |
setSuManager(Jbi4CorbaSUManager suManager)
Sets the su manager. |
void |
setSuName(String suName)
Sets the su name. |
String |
toString()
|
abstract void |
unregisterService()
Unregister service. |
abstract void |
validate()
Validate. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SHUTDOWN
public static final int STOPPED
public static final int RUNNING
Constructor Detail |
---|
public Jbi4CorbaEndpoint()
public Jbi4CorbaEndpoint(QName serviceName, String endpointName)
serviceName
- the service nameendpointName
- the endpoint nameMethod Detail |
---|
public String getUniqueName()
public static String getUniqueName(String aServiceNamespaceURI, String aServiceName, String aEndpointName, boolean isInbound)
public QName getServiceName()
public String getEndpointName()
public javax.wsdl.Definition getDefinition()
public void setDefinition(javax.wsdl.Definition definition)
definition
- the new definitionpublic int getState()
public void setState(int state)
state
- the new statepublic com.sun.jbi.eManager.provider.EndpointStatus getEndpointStatus()
public void setEndpointStatus(com.sun.jbi.eManager.provider.EndpointStatus endpointStatus)
endpointStatus
- the new endpoint statuspublic javax.jbi.servicedesc.ServiceEndpoint getServiceEndpoint()
public void setServiceEndpoint(javax.jbi.servicedesc.ServiceEndpoint serviceEndpoint)
serviceEndpoint
- the new service endpointpublic Document getServiceDescription()
public void setServiceDescription(Document serviceDescription)
serviceDescription
- the new service descriptionpublic String getSuName()
public void setSuName(String suName)
suName
- the new su namepublic Jbi4CorbaSUManager getSuManager()
public void setSuManager(Jbi4CorbaSUManager suManager)
suManager
- the new su managerpublic ExchangeProcessor getExchangeProcessor()
public void setExchangeProcessor(ExchangeProcessor exchangeProcessor)
exchangeProcessor
- the new exchange processorpublic File getEndpointWSDL()
public void setEndpointWSDL(File endpointWSDL)
endpointWSDL
- the new endpoint WSDLpublic boolean equals(Object obj)
equals
in class Object
obj
- the object to compare
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
public abstract void registerService() throws Jbi4CorbaException
Jbi4CorbaException
- if something go wrongpublic abstract void unregisterService() throws Jbi4CorbaException
Jbi4CorbaException
- if something go wrongpublic abstract void validate() throws Jbi4CorbaException
Jbi4CorbaException
- if something go wrongpublic abstract void activate() throws Jbi4CorbaException
Jbi4CorbaException
public abstract void deactivate() throws Jbi4CorbaException
Jbi4CorbaException
public abstract javax.jbi.messaging.MessageExchange.Role getRole()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |