1 23 28 29 package com.sun.enterprise.tools.verifier.tests.connector.managed; 30 31 import com.sun.enterprise.tools.verifier.Result; 32 import com.sun.enterprise.deployment.ConnectorDescriptor; 33 import com.sun.enterprise.tools.verifier.tests.*; 34 import com.sun.enterprise.tools.verifier.tests.connector.ConnectorCheck; 35 36 43 public class ManagedConnectionFactoryImplementation 44 extends ManagedConnectionFactoryTest 45 implements ConnectorCheck { 46 47 48 49 58 public Result check(ConnectorDescriptor descriptor) { 59 60 Result result = getInitializedResult(); 61 ComponentNameConstructor compName = 62 getVerifierContext().getComponentNameConstructor(); 63 if(!descriptor.getOutBoundDefined()) 65 { 66 result.addNaDetails(smh.getLocalString 67 ("tests.componentNameConstructor", 68 "For [ {0} ]", 69 new Object [] {compName.toString()})); 70 result.notApplicable(smh.getLocalString 71 ("com.sun.enterprise.tools.verifier.tests.connector.managed.notApplicableForInboundRA", 72 "Resource Adapter does not provide outbound communication")); 73 return result; 74 } 75 testImplementationOf(descriptor, "javax.resource.spi.ManagedConnectionFactory", result); 76 return result; 77 } 78 } 79 | Popular Tags |