Package org.jboss.wsf.spi.deployment
Interface Endpoint
-
- All Superinterfaces:
Extensible
- All Known Subinterfaces:
HttpEndpoint,JMSEndpoint
public interface Endpoint extends Extensible
A general JAXWS endpoint.- Since:
- 20-Apr-2007
- Author:
- Thomas.Diesler@jboss.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringSEPID_DOMAINstatic StringSEPID_DOMAIN_ENDPOINTstatic StringSEPID_PROPERTY_CONTEXTstatic StringSEPID_PROPERTY_ENDPOINT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAddress()Get endpoint addressEndpointConfiggetEndpointConfig()Get endpoint configEndpointMetricsgetEndpointMetrics()Get the endpoint metrics for this endpointInstanceProvidergetInstanceProvider()Get instance providerInvocationHandlergetInvocationHandler()Get the endpoint bean invokerLifecycleHandlergetLifecycleHandler()Get the lifecycle handler for this endpointObjectNamegetName()Get the unique identifier for this endpointList<org.jboss.ws.api.monitoring.RecordProcessor>getRecordProcessors()Get the record processors configured for this endpointRequestHandlergetRequestHandler()Get the request handler for this endpointSecurityDomainContextgetSecurityDomainContext()Get security domain contextServicegetService()Get the service this endpoint belongs toStringgetShortName()Get the short name for this endpointEndpointStategetState()Get the current state for this endpointClass<?>getTargetBeanClass()Use the deployment classloader to load the beanStringgetTargetBeanName()Get the endpoint implementation beanEndpointTypegetType()Get endpoint typevoidprocessRecord(org.jboss.ws.api.monitoring.Record record)Ask configured processors for processing of the given recordvoidsetAddress(String address)Set endpoint addressvoidsetEndpointConfig(EndpointConfig config)Set endpoint configvoidsetEndpointMetrics(EndpointMetrics metrics)Set the endpoint metrics for this endpointvoidsetInstanceProvider(InstanceProvider provider)Set instance providervoidsetInvocationHandler(InvocationHandler invoker)Set the endpoint bean invokervoidsetLifecycleHandler(LifecycleHandler handler)Set the lifecycle handler for this endpointvoidsetName(ObjectName epName)Set the unique identifier for this endpointvoidsetRecordProcessors(List<org.jboss.ws.api.monitoring.RecordProcessor> recordProcessors)Set the record processors for this endpointvoidsetRequestHandler(RequestHandler handler)Set the request handler for this endpointvoidsetSecurityDomainContext(SecurityDomainContext context)Set security domain contextvoidsetService(Service service)Set the service this endpoint belongs tovoidsetShortName(String shortName)Set the short name for this endpointvoidsetState(EndpointState state)Set the current state for this endpointvoidsetTargetBeanName(String epImpl)Set the endpoint implementation beanvoidsetType(EndpointType type)Set endpoint type-
Methods inherited from interface org.jboss.wsf.spi.deployment.Extensible
addAttachment, getAttachment, getAttachments, getProperties, getProperty, removeAttachment, removeProperty, setProperties, setProperty
-
-
-
-
Field Detail
-
SEPID_DOMAIN
static final String SEPID_DOMAIN
- See Also:
- Constant Field Values
-
SEPID_PROPERTY_CONTEXT
static final String SEPID_PROPERTY_CONTEXT
- See Also:
- Constant Field Values
-
SEPID_PROPERTY_ENDPOINT
static final String SEPID_PROPERTY_ENDPOINT
- See Also:
- Constant Field Values
-
SEPID_DOMAIN_ENDPOINT
static final String SEPID_DOMAIN_ENDPOINT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getService
Service getService()
Get the service this endpoint belongs to- Returns:
- endpoint service
-
setService
void setService(Service service)
Set the service this endpoint belongs to- Parameters:
service- endpoint service
-
getName
ObjectName getName()
Get the unique identifier for this endpoint- Returns:
- endpoint identifier
-
setName
void setName(ObjectName epName)
Set the unique identifier for this endpoint- Parameters:
epName- endpoint identifier
-
getShortName
String getShortName()
Get the short name for this endpoint- Returns:
- endpoint short name
-
setShortName
void setShortName(String shortName)
Set the short name for this endpoint- Parameters:
shortName- endpoint short name
-
getState
EndpointState getState()
Get the current state for this endpoint- Returns:
- endpoint state
-
setState
void setState(EndpointState state)
Set the current state for this endpoint- Parameters:
state- endpoint state
-
getType
EndpointType getType()
Get endpoint type- Returns:
- endpoint type
-
setType
void setType(EndpointType type)
Set endpoint type- Parameters:
type- endpoint type
-
getTargetBeanName
String getTargetBeanName()
Get the endpoint implementation bean- Returns:
- name of endpoint bean
-
setTargetBeanName
void setTargetBeanName(String epImpl)
Set the endpoint implementation bean- Parameters:
epImpl- name of endpoint bean
-
getTargetBeanClass
Class<?> getTargetBeanClass()
Use the deployment classloader to load the bean- Returns:
- bean loaded
-
setRequestHandler
void setRequestHandler(RequestHandler handler)
Set the request handler for this endpoint- Parameters:
handler- endpoint request handler
-
getRequestHandler
RequestHandler getRequestHandler()
Get the request handler for this endpoint- Returns:
- endpoint request handler
-
getLifecycleHandler
LifecycleHandler getLifecycleHandler()
Get the lifecycle handler for this endpoint- Returns:
- endpoint lifecycle handler
-
setLifecycleHandler
void setLifecycleHandler(LifecycleHandler handler)
Set the lifecycle handler for this endpoint- Parameters:
handler- endpoint lifecycle handler
-
getInvocationHandler
InvocationHandler getInvocationHandler()
Get the endpoint bean invoker- Returns:
- endpoint invoker
-
setInvocationHandler
void setInvocationHandler(InvocationHandler invoker)
Set the endpoint bean invoker- Parameters:
invoker- endpoint invoker
-
getEndpointMetrics
EndpointMetrics getEndpointMetrics()
Get the endpoint metrics for this endpoint- Returns:
- endpoint metrics
-
setEndpointMetrics
void setEndpointMetrics(EndpointMetrics metrics)
Set the endpoint metrics for this endpoint- Parameters:
metrics- endpoint metrics
-
getRecordProcessors
List<org.jboss.ws.api.monitoring.RecordProcessor> getRecordProcessors()
Get the record processors configured for this endpoint- Returns:
- set of endpoint record processors
-
setRecordProcessors
void setRecordProcessors(List<org.jboss.ws.api.monitoring.RecordProcessor> recordProcessors)
Set the record processors for this endpoint- Parameters:
recordProcessors- set of endpoint record processors
-
processRecord
void processRecord(org.jboss.ws.api.monitoring.Record record)
Ask configured processors for processing of the given record- Parameters:
record- record to process
-
getAddress
String getAddress()
Get endpoint address- Returns:
- endpoint address
-
setAddress
void setAddress(String address)
Set endpoint address- Parameters:
address- endpoint address
-
getSecurityDomainContext
SecurityDomainContext getSecurityDomainContext()
Get security domain context- Returns:
- security domain context
-
setSecurityDomainContext
void setSecurityDomainContext(SecurityDomainContext context)
Set security domain context- Parameters:
context- security domain context
-
getInstanceProvider
InstanceProvider getInstanceProvider()
Get instance provider- Returns:
- instance provider
-
setInstanceProvider
void setInstanceProvider(InstanceProvider provider)
Set instance provider- Parameters:
provider- instance provider
-
getEndpointConfig
EndpointConfig getEndpointConfig()
Get endpoint config- Returns:
- endpoint config
-
setEndpointConfig
void setEndpointConfig(EndpointConfig config)
Set endpoint config- Parameters:
config- endpoint config
-
-