private void validateSimpleEnvEntries(JndiNameEnvironment env, Set<EnvironmentProperty> envEntries) { for (EnvironmentProperty environmentProperty : envEntries) { SimpleEnvEntry simpleEnvEntry = new SimpleEnvEntry(environmentProperty); validateEnvEntry(env, simpleEnvEntry, simpleEnvEntry.getName()); } }
/** * @return the module type handled by this archivist * as defined in the application DTD */ @Override public ArchiveType getModuleType() { return DOLUtils.carType(); }
/** * @return the module type for this bundle descriptor */ public ArchiveType getModuleType() { return DOLUtils.earType(); }
private boolean hasSameSignatureAsExisting(java.lang.reflect.Method toMatch, Set<java.lang.reflect.Method> methods) { boolean sameSignature = false; for(java.lang.reflect.Method m : methods) { if( TypeUtil.sameMethodSignature(m, toMatch) ) { sameSignature = true; break; } } return sameSignature; }
/** * @return the list of the DeploymentDescriptorFile responsible for * handling the configuration deployment descriptors */ public List<ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles() { if (confDDFiles == null) { confDDFiles = DOLUtils.getConfigurationDeploymentDescriptorFiles(habitat, EarType.ARCHIVE_TYPE); } return confDDFiles; }
public void setMethodName(String methodName) { this.methodName = methodName; // Method name follows java beans setter syntax this.targetName = TypeUtil.setterMethodToPropertyName(methodName); ; }
/** * @return the visitor for this bundle descriptor */ public ComponentVisitor getBundleVisitor() { return new ApplicationValidator(); }
/** * visits all entries within the component environment for which * isInjectable() == true. * @param injectable InjectionCapable environment dependency */ public void accept(InjectionCapable injectable) { acceptWithCL(injectable); acceptWithoutCL(injectable); }
/** * Validate the resource adapter names of @CFD, @AODD. */ private void validateRAName(AppResource resource) { validateRAName(resource.getJndiName(), resource.getType()); }
@Override public void accept(BundleDescriptor bundleDescriptor) { this.bundleDescriptor = bundleDescriptor; super.accept(bundleDescriptor); }
/** * @return the visitor for this bundle descriptor */ public ComponentVisitor getBundleVisitor() { return new ConnectorValidator(); }
public void accept (BundleDescriptor descriptor) { if (descriptor instanceof ConnectorDescriptor) { ConnectorDescriptor connectorDesc = (ConnectorDescriptor)descriptor; accept(connectorDesc); } }
public void accept(BundleDescriptor descriptor) { if (descriptor instanceof ConnectorDescriptor) { ConnectorDescriptor connectorDesc = (ConnectorDescriptor)descriptor; accept(connectorDesc); } }
/** * @return the tracer visitor for this descriptor */ public DescriptorVisitor getTracerVisitor() { return new ConnectorTracerVisitor(); }
/** * visit the descriptor and all sub descriptors with a * DOL visitor implementation * @param aVisitor visitor to traverse the descriptors */ public void visit(ConnectorVisitor aVisitor) { aVisitor.accept(this); }
/** * @return the tracer visitor for this descriptor */ public DescriptorVisitor getTracerVisitor() { return new AppClientTracerVisitor(); }
private void validateSimpleEnvEntries(JndiNameEnvironment env, Enumeration<EnvironmentEntry> envEntries) { while (envEntries.hasMoreElements()) { EnvironmentEntry envEntry = envEntries.nextElement(); SimpleEnvEntry simpleEnvEntry = new SimpleEnvEntry(envEntry); validateEnvEntry(env, simpleEnvEntry, simpleEnvEntry.getName()); } }
/** * @return the list of the DeploymentDescriptorFile responsible for * handling the configuration deployment descriptors */ public List<ConfigurationDeploymentDescriptorFile> getConfigurationDDFiles() { if (confDDFiles == null) { confDDFiles = DOLUtils.getConfigurationDeploymentDescriptorFiles(habitat, EjbContainerUtil.EJB_CONTAINER_NAME); } return confDDFiles; }
public void setMethodName(String methodName) { this.methodName = methodName; // Method name follows java beans setter syntax this.targetName = TypeUtil.setterMethodToPropertyName(methodName); ; }