Methods Summary |
---|
public void | addDependency(java.lang.String depends)
dependencies.add(depends);
|
public void | addIgnoreDependency(org.jboss.metamodel.descriptor.InjectionTarget ignore)
ignoreDependencies.add(ignore);
|
public void | addRemoteBinding(RemoteBinding binding)
remoteBindings.add(binding);
|
public void | addSecurityRoleRef(org.jboss.metamodel.descriptor.SecurityRoleRef roleRef)
this.securityRoleRefs.add(roleRef);
|
public void | addXmlAnnotation(XmlAnnotation annotation)
xmlAnnotations.add(annotation);
|
public java.lang.String | getAopDomainName()
return aopDomainName;
|
public java.util.Collection | getDependencies()
return dependencies;
|
public java.lang.String | getEjbClass()
return ejbClass;
|
public java.lang.String | getEjbName()
return ejbName;
|
public java.lang.String | getHome()
return home;
|
public java.lang.String | getHomeJndiName()
return homeJndiName;
|
public java.util.Collection | getIgnoreDependencies()
return ignoreDependencies;
|
public java.lang.String | getJndiName()
return jndiName;
|
public java.lang.String | getLocal()
return local;
|
public java.lang.String | getLocalHome()
return localHome;
|
public java.lang.String | getLocalHomeJndiName()
return localHomeJndiName;
|
public java.lang.String | getLocalJndiName()
return localJndiName;
|
public MethodAttributes | getMethodAttributes()
return methodAttributes;
|
public PoolConfig | getPoolConfig()
return poolConfig;
|
public java.lang.String | getRemote()
return remote;
|
public java.util.List | getRemoteBindings()
return remoteBindings;
|
public java.lang.String | getSecurityDomain()
return securityDomain;
|
public SecurityIdentity | getSecurityIdentity()
return securityIdentity;
|
public java.util.Collection | getSecurityRoleRefs()
return securityRoleRefs;
|
public javax.ejb.TransactionManagementType | getTransactionManagementType()
return tmType;
|
public java.util.Collection | getXmlAnnotations()
return xmlAnnotations;
|
public boolean | isCallByValue()
return callByValue;
|
public boolean | isConsumer()
return this instanceof Consumer;
|
public boolean | isEntityBean()
return this instanceof EntityEnterpriseBean;
|
public boolean | isMessageDrivenBean()
return this instanceof MessageDrivenBean;
|
public boolean | isService()
return this instanceof Service;
|
public boolean | isSessionBean()
return this instanceof SessionEnterpriseBean;
|
public void | mergeMessageDestinationRef(org.jboss.metamodel.descriptor.MessageDestinationRef ref)
MessageDestinationRef tmpRef = (MessageDestinationRef)messageDestinationRefs.get(ref.getMessageDestinationRefName());
if (tmpRef != null)
tmpRef.merge(ref);
|
public void | mergeResourceEnvRef(org.jboss.metamodel.descriptor.ResourceEnvRef ref)
ResourceEnvRef tmpRef = (ResourceEnvRef)resourceEnvRefs.get(ref.getResRefName());
if (tmpRef != null)
tmpRef.merge(ref);
|
public void | mergeResourceRef(org.jboss.metamodel.descriptor.ResourceRef ref)
ResourceRef tmpRef = (ResourceRef)resourceRefs.get(ref.getResRefName());
if (tmpRef != null)
tmpRef.merge(ref);
|
public void | setAopDomainName(java.lang.String aopDomainName)
this.aopDomainName = aopDomainName;
|
public void | setCallByValue(boolean callByValue)
this.callByValue = callByValue;
|
public void | setEjbClass(java.lang.String ejbClass)
this.ejbClass = ejbClass;
|
public void | setEjbName(java.lang.String ejbName)
this.ejbName = ejbName;
|
public void | setHome(java.lang.String home)
this.home = home;
|
public void | setHomeJndiName(java.lang.String homeJndiName)
this.homeJndiName = homeJndiName;
|
public void | setJndiName(java.lang.String jndiName)
this.jndiName = jndiName;
|
public void | setLocal(java.lang.String local)
this.local = local;
|
public void | setLocalHome(java.lang.String localHome)
this.localHome = localHome;
|
public void | setLocalHomeJndiName(java.lang.String localHomeJndiName)
this.localHomeJndiName = localHomeJndiName;
|
public void | setLocalJndiName(java.lang.String localJndiName)
this.localJndiName = localJndiName;
|
public void | setMethodAttributes(MethodAttributes methodAttributes)
this.methodAttributes = methodAttributes;
|
public void | setPoolConfig(PoolConfig poolConfig)
this.poolConfig = poolConfig;
|
public void | setRemote(java.lang.String remote)
this.remote = remote;
|
public void | setRunAsPrincipal(java.lang.String principal)
/**
* A case where the RunAs is defined in annotations and the
* RunAsPrincipal is specified in jboss.xml
*/
if (securityIdentity == null)
{
securityIdentity = new SecurityIdentity();
}
securityIdentity.setRunAsPrincipal(principal);
|
public void | setSecurityDomain(java.lang.String securityDomain)
this.securityDomain = securityDomain;
|
public void | setSecurityIdentity(SecurityIdentity securityIdentity)
this.securityIdentity = securityIdentity;
|
public void | setTransactionManagementType(java.lang.String transactionType)
if (transactionType.equals(BEAN))
tmType = TransactionManagementType.BEAN;
else if (transactionType.equals(CONTAINER))
tmType = TransactionManagementType.CONTAINER;
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer(100);
sb.append("ejbName=").append(ejbName);
sb.append(",remoteBindings=").append(remoteBindings);
sb.append(",jndiName=").append(jndiName);
sb.append(",local=").append(local);
sb.append(",remote=").append(remote);
sb.append(",home=").append(home);
sb.append(",localHome=").append(localHome);
sb.append(",ejbClass=").append(ejbClass);
sb.append(",ejbRefs=").append(ejbRefs);
sb.append(",ejbLocalRefs=").append(ejbLocalRefs);
sb.append(",resourceRefs=").append(resourceRefs);
sb.append(",resourceEnvRefs=").append(resourceEnvRefs);
sb.append(",methodAttributes=").append(methodAttributes);
sb.append(",aopDomainName=").append(aopDomainName);
sb.append(",dependencies=").append(dependencies);
sb.append(",securityRoleRefs=").append(securityRoleRefs);
return sb.toString();
|