private MBeanServer getMBeanServer() { return this.context.getContext().getMBeanServer(); } }
public ComponentLifeCycle getLifeCycle() { if (lifeCycle == null) { lifeCycle = component.getLifeCycle(); } return lifeCycle; }
/** * @see javax.jbi.component.ComponentContext#getWorkspaceRoot() */ public String getWorkspaceRoot() { return this.context.getWorkspaceRoot(); }
public ServiceEndpoint[] resolveAvailableEndpoints(ComponentContext context, MessageExchange exchange) throws JBIException { ServiceEndpoint endpoint = context.getEndpoint(serviceName, endpointName); if (endpoint != null) { return new ServiceEndpoint[] {endpoint }; } else { return new ServiceEndpoint[0]; } }
public DeliveryChannel getDeliveryChannel() throws MessagingException { if (channel == null) { channel = context.getDeliveryChannel(); } return channel; }
protected ServiceEndpoint chooseEndpoint(ServiceEndpoint[] endpoints) throws JBIException { for (int i = 0; i < endpoints.length; i++) { if (context.getEndpointDescriptor(endpoints[i]) != null) { return endpoints[i]; } } return null; }
public ObjectName getExtensionMBeanName() throws JBIException { return component.getLifeCycle().getExtensionMBeanName(); }
/** * @see javax.jbi.component.ComponentContext#getMBeanNames() */ public MBeanNames getMBeanNames() { return context.getMBeanNames(); }
/** * Called when the Component is initialized * * @param ctx * @throws javax.jbi.JBIException */ public void init(ComponentContext ctx) throws JBIException { this.context = ctx; if (service != null && endpoint != null) { ctx.activateEndpoint(service, endpoint); } }
/** * @see javax.jbi.component.ComponentContext#getMBeanServer() */ public MBeanServer getMBeanServer() { return this.context.getMBeanServer(); }
/** * @see javax.jbi.component.ComponentContext#getTransactionManager() */ public Object getTransactionManager() { return context.getTransactionManager(); }
public ServiceUnitManager getServiceUnitManager() { if (suManager == null) { suManager = component.getServiceUnitManager(); } return suManager; }
private MBeanServer getMBeanServer() { return this.context.getContext().getMBeanServer(); } }
/** * @see javax.jbi.component.ComponentContext#getWorkspaceRoot() */ public String getWorkspaceRoot() { return context.getWorkspaceRoot(); }
/** * @see javax.jbi.component.ComponentContext#getMBeanNames() */ public MBeanNames getMBeanNames() { return this.context.getMBeanNames(); }
public void init(ComponentContext ctx) throws JBIException { this.context = ctx; if (service != null && endpoint != null) { ctx.activateEndpoint(service, endpoint); } }
public ComponentLifeCycle getLifeCycle() { if (lifeCycle == null) { lifeCycle = component.getLifeCycle(); } return this; }
/** * @see javax.jbi.component.ComponentContext#getMBeanServer() */ public MBeanServer getMBeanServer() { return context.getMBeanServer(); }
/** * @see javax.jbi.component.ComponentContext#getTransactionManager() */ public Object getTransactionManager() { return this.context.getTransactionManager(); }
public void init(ComponentContext ctx) throws JBIException { this.context = ctx; ctx.activateEndpoint(SERVICE, ENDPOINT); }