public interface PetalsComponentContext
extends javax.jbi.component.ComponentContext
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clear the component Context, remove objects dependent to the component life cycle scope.
|
void |
deactivateAllEndpoints()
deregister all endpoints (internal and external)
Used by the
DeliveryChannel when closing |
javax.jbi.component.Component |
getComponent() |
org.ow2.petals.clientserverapi.configuration.ContainerConfiguration |
getContainerConfiguration() |
org.ow2.petals.jbi.messaging.PetalsDeliveryChannel |
getDeliveryChannelInstance()
Do not create a delivery channel if none are present or if closed
|
org.ow2.petals.jbi.servicedesc.endpoint.Location |
getLocation() |
RouterService |
getRouter()
Used by the
DeliveryChannel to send message into the router |
SecurityContext |
getSecurityContext() |
boolean |
hasExchangesInDeliveryChannel()
Used by the router to know if the component still has exchanges in its queue.
|
void |
offerExchange(org.ow2.petals.jbi.messaging.exchange.PetalsMessageExchange exchange)
Called by the router to notify a component there is an exchange for it.
|
void |
setComponent(javax.jbi.component.Component component) |
void |
setSecurityContext(SecurityContext securityContext) |
activateEndpoint, deactivateEndpoint, deregisterExternalEndpoint, getComponentName, getDeliveryChannel, getEndpoint, getEndpointDescriptor, getEndpoints, getEndpointsForService, getExternalEndpoints, getExternalEndpointsForService, getInstallRoot, getLogger, getMBeanNames, getMBeanServer, getNamingContext, getTransactionManager, getWorkspaceRoot, registerExternalEndpoint, resolveEndpointReference
SecurityContext getSecurityContext()
void setSecurityContext(SecurityContext securityContext)
void deactivateAllEndpoints() throws javax.jbi.messaging.MessagingException
DeliveryChannel
when closingjavax.jbi.messaging.MessagingException
RouterService getRouter()
DeliveryChannel
to send message into the routerorg.ow2.petals.clientserverapi.configuration.ContainerConfiguration getContainerConfiguration()
javax.jbi.component.Component getComponent()
org.ow2.petals.jbi.servicedesc.endpoint.Location getLocation()
void setComponent(javax.jbi.component.Component component)
void clear()
org.ow2.petals.jbi.messaging.PetalsDeliveryChannel getDeliveryChannelInstance()
void offerExchange(org.ow2.petals.jbi.messaging.exchange.PetalsMessageExchange exchange) throws RoutingException
RoutingException
boolean hasExchangesInDeliveryChannel()
Copyright © 2005-2016 Linagora. All Rights Reserved.