Methods Summary |
---|
public void | addDependency(java.lang.String depends)
currentEjb.addDependency(depends);
|
public void | addEnterpriseBean(EnterpriseBean ejb)
enterpriseBeans.put(ejb.getEjbName(), ejb);
|
public void | addIgnoreDependency(org.jboss.metamodel.descriptor.InjectionTarget ignore)
currentEjb.addIgnoreDependency(ignore);
|
public void | addJndiRef(org.jboss.metamodel.descriptor.JndiRef ref)
currentEjb.addJndiRef(ref);
|
public void | addMessageDestinationRef(org.jboss.metamodel.descriptor.MessageDestinationRef ref)
currentEjb.mergeMessageDestinationRef(ref);
|
public void | addRemoteBinding(RemoteBinding binding)
currentEjb.addRemoteBinding(binding);
|
public void | addResourceEnvRef(org.jboss.metamodel.descriptor.ResourceEnvRef ref)
currentEjb.mergeResourceEnvRef(ref);
|
public void | addResourceRef(org.jboss.metamodel.descriptor.ResourceRef ref)
currentEjb.mergeResourceRef(ref);
|
public void | addServiceRef(org.jboss.ws.integration.ServiceRefMetaData ref)
currentEjb.addServiceRef(ref);
|
public void | addXmlAnnotation(XmlAnnotation xmlAnnotation)
currentEjb.addXmlAnnotation(xmlAnnotation);
|
public EnterpriseBean | createEjbByEjbName(java.lang.String ejbName, java.lang.Class ejbClass)
EnterpriseBean ejb = (EnterpriseBean) enterpriseBeans.get(ejbName);
if (ejb != null)
return ejb;
try
{
ejb = (EnterpriseBean)ejbClass.newInstance();
ejb.setEjbName(ejbName);
enterpriseBeans.put(ejbName, ejb);
}
catch (Exception e){}
return ejb;
|
public boolean | equals(java.lang.Object o)
if (this == o)
return true;
if (!(o instanceof EnterpriseBeans))
return false;
final EnterpriseBeans ejbs = (EnterpriseBeans) o;
if (enterpriseBeans != null ? !enterpriseBeans
.equals(ejbs.enterpriseBeans) : ejbs.enterpriseBeans != null)
return false;
return true;
|
public EnterpriseBean | findEjbByEjbName(java.lang.String ejbName)
return enterpriseBeans.get(ejbName);
|
public EnterpriseBean | findEjbByLocal(java.lang.String local)
Iterator ejbs = enterpriseBeans.values().iterator();
while (ejbs.hasNext())
{
EnterpriseBean ejb = (EnterpriseBean) ejbs.next();
if (ejb.getLocal() != null && ejb.getLocal().equals(local))
return ejb;
}
return null;
|
public EnterpriseBean | findEjbByRemote(java.lang.String remote)
Iterator ejbs = enterpriseBeans.values().iterator();
while (ejbs.hasNext())
{
EnterpriseBean ejb = (EnterpriseBean) ejbs.next();
if (ejb.getRemote() != null && ejb.getRemote().equals(remote))
return ejb;
}
return null;
|
public java.util.List | findEjbs()
ArrayList<EnterpriseBean> result = new ArrayList<EnterpriseBean>(enterpriseBeans.values().size());
Iterator<EnterpriseBean> ejbs = enterpriseBeans.values().iterator();
while (ejbs.hasNext())
{
result.add(ejbs.next());
}
return result;
|
public java.util.List | findEjbsByClass(java.lang.String className)
ArrayList<EnterpriseBean> result = new ArrayList<EnterpriseBean>();
Iterator ejbs = enterpriseBeans.values().iterator();
while (ejbs.hasNext())
{
EnterpriseBean ejb = (EnterpriseBean) ejbs.next();
String ejbClassName = ejb.getEjbClass();
if (ejbClassName != null && ejbClassName.equals(className))
result.add(ejb);
}
return result;
|
public java.util.Collection | getEnterpriseBeans()
return enterpriseBeans.values();
|
public int | hashCode()
int result;
result = (enterpriseBeans != null ? enterpriseBeans.hashCode() : 0);
// result = 29 * result + (version != null ? version.hashCode() : 0);
return result;
|
public void | setAopDomainName(java.lang.String aopDomainName)
currentEjb.setAopDomainName(aopDomainName);
|
public void | setCacheConfig(CacheConfig config)
((SessionEnterpriseBean)currentEjb).setCacheConfig(config);
|
public void | setCallByValue(boolean callByValue)
currentEjb.setCallByValue(callByValue);
|
public void | setClusterConfig(ClusterConfig config)
((SessionEnterpriseBean)currentEjb).setClusterConfig(config);
|
public void | setClustered(java.lang.String clustered)
((SessionEnterpriseBean)currentEjb).setClustered(clustered);
|
public void | setConcurrent(java.lang.String concurrent)
((SessionEnterpriseBean)currentEjb).setConcurrent(concurrent);
|
public void | setCurrentEjbName(java.lang.String currentEjbName, java.lang.Class ejbClass)
currentEjb = createEjbByEjbName(currentEjbName, ejbClass);
|
public void | setDefaultActivationConfig(ActivationConfig config)
((MessageDrivenBean)currentEjb).setDefaultActivationConfig(config);
|
public void | setDestinationJndiName(java.lang.String name)
((MessageDrivenBean)currentEjb).setDestinationJndiName(name);
|
public void | setHomeJndiName(java.lang.String homeJndiName)
currentEjb.setHomeJndiName(homeJndiName);
|
public void | setJndiName(java.lang.String jndiName)
currentEjb.setJndiName(jndiName);
|
public void | setLocalHomeJndiName(java.lang.String homeJndiName)
currentEjb.setLocalHomeJndiName(homeJndiName);
|
public void | setLocalJndiName(java.lang.String jndiName)
currentEjb.setLocalJndiName(jndiName);
|
public void | setMdbPassword(java.lang.String name)
((MessageDrivenBean)currentEjb).setMdbPassword(name);
|
public void | setMdbSubscriptionId(java.lang.String id)
((MessageDrivenBean)currentEjb).setMdbSubscriptionId(id);
|
public void | setMdbUser(java.lang.String name)
((MessageDrivenBean)currentEjb).setMdbUser(name);
|
public void | setMethodAttributes(MethodAttributes attributes)
currentEjb.setMethodAttributes(attributes);
|
public void | setPoolConfig(PoolConfig config)
currentEjb.setPoolConfig(config);
|
public void | setResourceAdapterName(java.lang.String name)
((MessageDrivenBean)currentEjb).setResourceAdaptorName(name);
|
public void | setRunAsPrincipal(java.lang.String principal)
currentEjb.setRunAsPrincipal(principal);
|
public void | setSecurityDomain(java.lang.String securityDomain)
currentEjb.setSecurityDomain(securityDomain);
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer(100);
sb.append("[");
sb.append("enterpriseBeans=").append(enterpriseBeans);
sb.append("]");
return sb.toString();
|
public void | updateEjbLocalRef(org.jboss.metamodel.descriptor.EjbLocalRef ref)
currentEjb.updateEjbLocalRef(ref);
|
public void | updateEjbRef(org.jboss.metamodel.descriptor.EjbRef ref)
currentEjb.updateEjbRef(ref);
|
public void | updateMessageDestinationRef(org.jboss.metamodel.descriptor.MessageDestinationRef ref)
currentEjb.updateMessageDestinationRef(ref);
|
public void | updateResourceEnvRef(org.jboss.metamodel.descriptor.ResourceEnvRef ref)
currentEjb.updateResourceEnvRef(ref);
|
public void | updateResourceRef(org.jboss.metamodel.descriptor.ResourceRef ref)
currentEjb.updateResourceRef(ref);
|