Methods Summary |
---|
public void | addMethodDescriptor(com.sun.enterprise.deployment.MethodDescriptor methodDesc)Setter for method
methodDescs.add(methodDesc);
|
private void | convertStyleFlushedMethods()
Set allMethods = ejbDescriptor.getMethodDescriptors();
for (Iterator mdItr = methodDescs.iterator(); mdItr.hasNext();) {
MethodDescriptor methodDesc = (MethodDescriptor) mdItr.next();
// the ejb-name element defined in the method element will
// be always ignored and overriden by the one defined in
// ejb element
methodDesc.setEjbName(ejbDescriptor.getName());
// Convert to style 3 method descriptors
Vector mds = methodDesc.doStyleConversion(ejbDescriptor, allMethods);
convertedMethodDescs.addAll(mds);
}
|
public java.util.ArrayList | getConvertedMethodDescs()Getter for converted method
if (convertedMethodDescs.isEmpty()) {
convertStyleFlushedMethods();
}
return convertedMethodDescs;
|
public com.sun.enterprise.deployment.EjbDescriptor | getEjbDescriptor()Getter for ejbDescriptor
return ejbDescriptor;
|
public java.util.ArrayList | getMethodDescriptors()Getter for method
return methodDescs;
|
public boolean | isFlushEnabledFor(com.sun.enterprise.deployment.MethodDescriptor methodDesc)
return getConvertedMethodDescs().contains(methodDesc);
|
public void | setEjbDescriptor(com.sun.enterprise.deployment.EjbDescriptor ejbDescriptor)Setter for ejbDescriptors
this.ejbDescriptor = ejbDescriptor;
|