1 23 package com.sun.enterprise.jbi.serviceengine.core; 24 25 import javax.jbi.component.*; 26 import javax.jbi.servicedesc.ServiceEndpoint; 27 import org.w3c.dom.Document ; 28 29 34 35 public class JavaEEServiceEngine implements Component { 36 37 JavaEEServiceEngineLifeCycle lifeCycle = null; 38 public JavaEEServiceEngine() { 39 } 40 44 public ComponentLifeCycle getLifeCycle(){ 45 if(lifeCycle == null) 46 lifeCycle = new JavaEEServiceEngineLifeCycle(); 47 return lifeCycle; 48 } 49 50 56 public ServiceUnitManager getServiceUnitManager(){ 57 return null; 58 59 } 60 61 68 public Document getServiceDescription(ServiceEndpoint endpoint){ 69 70 return null; 72 } 73 74 90 public boolean isExchangeWithConsumerOkay( 91 javax.jbi.servicedesc.ServiceEndpoint endpoint, 92 javax.jbi.messaging.MessageExchange exchange) 93 { 94 return true; 95 } 96 97 112 public boolean isExchangeWithProviderOkay( 113 javax.jbi.servicedesc.ServiceEndpoint endpoint, 114 javax.jbi.messaging.MessageExchange exchange) 115 { 116 return true; 117 } 118 119 public ServiceEndpoint resolveEndpointReference( 120 org.w3c.dom.DocumentFragment epr) { 121 return null; 122 } 123 124 } 125 126 | Popular Tags |