public abstract class RegisteredEndpoint extends Object implements ServiceEndpoint, EndpointStatistics
| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC
ENDPOINT TYPES
|
static int |
EXTERNAL |
static int |
INTERNAL |
static int |
LINKED |
| Constructor and Description |
|---|
RegisteredEndpoint(QName service,
String endpoint,
String ownerId)
Creates a new RegisteredEndpoint.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deep check for equality.
|
DocumentFragment |
getAsReference(QName operationName)
ExternalEndpoint implementation should override this method.
|
String |
getEndpointName()
Returns the local name of the registered endpoint.
|
TabularData |
getHistoricalStatistics() |
QName[] |
getInterfaces() |
QName[] |
getInterfacesInternal() |
String |
getName() |
HashMap |
getOperations() |
String |
getOwnerId() |
QName |
getServiceName()
Returns the qualified name of the service offered at this endpoint.
|
CompositeData |
getStatistics() |
abstract int |
getType()
Indicates the type of endpoint: INTERNAL, EXTERNAL, or DYNAMIC.
|
int |
hashCode() |
boolean |
implementsInterface(QName interfaceName)
Returns true if this endpoint implements the specified interface.
|
boolean |
isActive()
Indicates whether this reference is active.
|
boolean |
isDynamic() |
boolean |
isExternal() |
boolean |
isInternal() |
boolean |
isLinked() |
void |
parseDescriptor(Document descriptor)
Parse the endpoint descriptor for operation and interface details and
load them into the endpoint reference.
|
void |
resetInUse() |
void |
setActive(boolean isActive)
Specifies whether the reference is active.
|
void |
setInterfaces(QName[] interfaces) |
void |
setInUse() |
void |
setOperations(HashMap map) |
String |
toExternalName() |
String |
toString() |
String |
toStringBrief() |
public static final int DYNAMIC
public static final int INTERNAL
public static final int EXTERNAL
public static final int LINKED
public String getEndpointName()
getEndpointName in interface ServiceEndpointpublic QName getServiceName()
getServiceName in interface ServiceEndpointpublic String getOwnerId()
public boolean isActive()
public abstract int getType()
public void setActive(boolean isActive)
isActive - true for yes, false for nopublic HashMap getOperations()
public void setOperations(HashMap map)
public QName[] getInterfaces()
getInterfaces in interface ServiceEndpointpublic QName[] getInterfacesInternal()
public void setInterfaces(QName[] interfaces)
public boolean isInternal()
public boolean isExternal()
public boolean isLinked()
public boolean isDynamic()
public boolean implementsInterface(QName interfaceName)
public void parseDescriptor(Document descriptor) throws MessagingException
MessagingExceptionpublic DocumentFragment getAsReference(QName operationName)
getAsReference in interface ServiceEndpointoperationName - the name of the operation to be performed by a
consumer of the generated endpoint reference. Set to null
if this is not applicable.null if the
provider does not support such references.public void setInUse()
public void resetInUse()
public String getName()
getName in interface EndpointStatisticspublic CompositeData getStatistics()
getStatistics in interface EndpointStatisticspublic TabularData getHistoricalStatistics()
getHistoricalStatistics in interface EndpointStatisticspublic String toExternalName()
public String toStringBrief()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.