Methods Summary |
---|
public void | addChild(MessageDrivenBean parent, ActivationConfig config, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setActivationConfig(config);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.EjbRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbRef(ref);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.EjbLocalRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbLocalRef(ref);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.EnvEntry entry, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEnvEntry(entry);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.ResourceEnvRef envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceEnvRef(envRef);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.ResourceRef envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceRef(envRef);
|
public void | addChild(MessageDrivenBean parent, org.jboss.ws.integration.ServiceRefMetaData envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addServiceRef(envRef);
|
public void | addChild(MessageDrivenBean parent, org.jboss.metamodel.descriptor.MessageDestinationRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addMessageDestinationRef(ref);
|
public void | addChild(ActivationConfig parent, org.jboss.metamodel.descriptor.NameValuePair property, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addActivationConfigProperty(property);
|
public void | addChild(EjbJarDD parent, EnterpriseBeans ejbs, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.setEnterpriseBeans(ejbs);
|
public void | addChild(EnterpriseBeans parent, EnterpriseBean ejb, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEnterpriseBean(ejb);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.SecurityRoleRef roleRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addSecurityRoleRef(roleRef);
|
public void | addChild(SessionEnterpriseBean parent, SecurityIdentity si, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.setSecurityIdentity(si);
|
public void | addChild(SecurityIdentity parent, org.jboss.metamodel.descriptor.RunAs runAs, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.setRunAs(runAs);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.EjbLocalRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addEjbLocalRef(ref);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.EjbRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addEjbRef(ref);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.PersistenceContextRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addPersistenceContextRef(ref);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.PersistenceUnitRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addPersistenceUnitRef(ref);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.MessageDestinationRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMessageDestinationRef(ref);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.EnvEntry entry, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEnvEntry(entry);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.ResourceEnvRef envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceEnvRef(envRef);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.metamodel.descriptor.ResourceRef envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceRef(envRef);
|
public void | addChild(SessionEnterpriseBean parent, org.jboss.ws.integration.ServiceRefMetaData envRef, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addServiceRef(envRef);
|
public void | addChild(SessionEnterpriseBean parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
if (localName.equals("around-invoke"))
{
parent.setAroundInvoke(method);
}
else if (localName.equals("post-construct"))
{
parent.setPostConstruct(method);
}
else if (localName.equals("pre-destroy"))
{
parent.setPreDestroy(method);
}
else if (localName.equals("post-activate"))
{
parent.setPostActivate(method);
}
else if (localName.equals("pre-passivate"))
{
parent.setPrePassivate(method);
}
|
public void | addChild(EntityEnterpriseBean parent, CmpField field, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addCmpField(field);
|
public void | addChild(EntityEnterpriseBean parent, Query query, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addQuery(query);
|
public void | addChild(EjbJarDD parent, Relationships relationships, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setRelationships(relationships);
|
public void | addChild(Relationships parent, EjbRelation relation, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbRelation(relation);
|
public void | addChild(EjbRelation parent, EjbRelationshipRole role, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbRelationshipRole(role);
|
public void | addChild(EjbRelationshipRole parent, RelationshipRoleSource source, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setRelationshipRoleSource(source);
|
public void | addChild(EjbRelationshipRole parent, CmrField field, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setCmrField(field);
|
public void | addChild(EjbJarDD parent, AssemblyDescriptor descriptor, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setAssemblyDescriptor(descriptor);
|
public void | addChild(AssemblyDescriptor parent, org.jboss.metamodel.descriptor.SecurityRole role, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addSecurityRole(role);
|
public void | addChild(AssemblyDescriptor parent, MethodPermission permission, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMethodPermission(permission);
|
public void | addChild(AssemblyDescriptor parent, ExcludeList list, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setExcludeList(list);
|
public void | addChild(AssemblyDescriptor parent, ApplicationException exception, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addApplicationException(exception);
|
public void | addChild(AssemblyDescriptor parent, InitList list, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setInitList(list);
|
public void | addChild(AssemblyDescriptor parent, Inject inject, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addInject(inject);
|
public void | addChild(AssemblyDescriptor parent, InterceptorBinding binding, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addInterceptorBinding(binding);
|
public void | addChild(ExcludeList parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMethod(method);
|
public void | addChild(InitList parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMethod(method);
|
public void | addChild(MethodPermission parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMethod(method);
|
public void | addChild(Inject parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMethod(method);
|
public void | addChild(EjbJarDD parent, Interceptors interceptors, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.setInterceptors(interceptors);
|
public void | addChild(Interceptors parent, Interceptor interceptor, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
parent.addInterceptor(interceptor);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.EjbLocalRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbLocalRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.EjbRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEjbRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.PersistenceContextRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addPersistenceContextRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.PersistenceUnitRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addPersistenceUnitRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.MessageDestinationRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addMessageDestinationRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.EnvEntry entry, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addEnvEntry(entry);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.ResourceEnvRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceEnvRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.metamodel.descriptor.ResourceRef ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addResourceRef(ref);
|
public void | addChild(Interceptor parent, org.jboss.ws.integration.ServiceRefMetaData ref, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addServiceRef(ref);
|
public void | addChild(Interceptor parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)
if (localName.equals("around-invoke"))
{
parent.setAroundInvoke(method);
}
else if (localName.equals("post-construct"))
{
parent.setPostConstruct(method);
}
else if (localName.equals("pre-destroy"))
{
parent.setPreDestroy(method);
}
else if (localName.equals("post-activate"))
{
parent.setPostActivate(method);
}
else if (localName.equals("pre-passivate"))
{
parent.setPrePassivate(method);
}
|
public void | addChild(InterceptorBinding parent, InterceptorOrder order, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setOrderedInterceptorClasses(order);
|
public void | addChild(InterceptorBinding parent, ExcludeDefaultInterceptors exclude, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setExcludeDefaultInterceptors(true);
|
public void | addChild(InterceptorBinding parent, ExcludeClassInterceptors exclude, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setExcludeClassInterceptors(true);
|
public void | addChild(ContainerTransaction parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setMethod(method);
|
public void | addChild(MessageDrivenBean parent, MessageDrivenDestination destination, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.setMessageDrivenDestination(destination);
|
public void | addChild(MessageDrivenBean parent, Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
if (localName.equals("around-invoke"))
{
parent.setAroundInvoke(method);
}
else if (localName.equals("post-construct"))
{
parent.setPostConstruct(method);
}
else if (localName.equals("pre-destroy"))
{
parent.setPreDestroy(method);
}
|
public void | addChild(AssemblyDescriptor parent, ContainerTransaction transaction, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName)Called when parsing character is complete.
parent.addContainerTransaction(transaction);
|
public java.lang.Object | completeRoot(java.lang.Object root, org.jboss.xb.binding.UnmarshallingContext ctx, java.lang.String uri, java.lang.String name)
return root;
|
protected java.lang.String | getValue(java.lang.String name, java.lang.String value)
if (value.startsWith("${") && value.endsWith("}"))
{
String replacement = StringPropertyReplacer.replaceProperties(value);
if (replacement != null)
value = replacement;
}
return value;
|
private boolean | isEjbParentName(EnterpriseBean ejb, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("ejb-name"))
{
ejb.setEjbName(getValue(localName, value));
return true;
}
else if (localName.equals("home"))
{
ejb.setHome(getValue(localName, value));
return true;
}
else if (localName.equals("remote") || localName.equals("business-remote"))
{
ejb.setRemote(getValue(localName, value));
return true;
}
else if (localName.equals("local-home"))
{
ejb.setLocalHome(getValue(localName, value));
return true;
}
else if (localName.equals("local") || localName.equals("business-local"))
{
ejb.setLocal(getValue(localName, value));
return true;
}
else if (localName.equals("ejb-class"))
{
ejb.setEjbClass(getValue(localName, value));
return true;
}
return false;
|
public java.lang.Object | newChild(SessionEnterpriseBean parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = newEjbChild(parent, localName);
if (child != null)
return child;
child = newEjbHasInterceptorsChild(parent, localName);
if (child != null)
return child;
if (localName.equals("security-role-ref"))
{
child = new SecurityRoleRef();
}
else if (localName.equals("security-identity"))
{
child = new SecurityIdentity();
}
else if (localName.equals("remove-method"))
{
RemoveMethod method = new RemoveMethod();
parent.addRemoveMethod(method);
child = method;
}
else if (localName.equals("init-method"))
{
InitMethod method = new InitMethod();
parent.addInitMethod(method);
child = method;
}
return child;
|
public java.lang.Object | newChild(EntityEnterpriseBean parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
child = newEjbChild(parent, localName);
if (child == null)
{
if (localName.equals("security-role-ref"))
{
child = new SecurityRoleRef();
}
else if (localName.equals("cmp-field"))
{
child = new CmpField();
}
else if (localName.equals("query"))
{
child = new Query();
}
}
return child;
|
public java.lang.Object | newChild(SecurityIdentity parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("run-as"))
{
child = new RunAs();
}
else if (localName.equals("use-caller-identity"))
{
parent.setUseCallerIdentity(true);
}
return child;
|
public java.lang.Object | newChild(RemoveMethod parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("bean-method"))
{
parent.setBeanMethod(new Method());
child = parent.getBeanMethod();
}
return child;
|
public java.lang.Object | newChild(InitMethod parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("bean-method"))
{
parent.setBeanMethod(new Method());
child = parent.getBeanMethod();
}
return child;
|
public java.lang.Object | newChild(Relationships relationships, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("ejb-relation"))
{
child = new EjbRelation();
}
return child;
|
public java.lang.Object | newChild(EjbRelation relation, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("ejb-relationship-role"))
{
child = new EjbRelationshipRole();
}
return child;
|
public java.lang.Object | newChild(EjbRelationshipRole parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("cascade-delete"))
{
parent.setCascadeDelete(true);
}
else if (localName.equals("relationship-role-source"))
{
child = new RelationshipRoleSource();
}
else if (localName.equals("cmr-field"))
{
child = new CmrField();
}
return child;
|
public java.lang.Object | newChild(Interceptors interceptors, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = null;
if (localName.equals("interceptor"))
{
return new Interceptor();
}
return child;
|
public java.lang.Object | newChild(Interceptor interceptor, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = null;
if ((child = this.newEnvRefGroupChild(localName)) != null)
return child;
if (localName.equals("around-invoke"))
{
return new Method();
}
else if (localName.equals("post-construct"))
{
return new Method();
}
else if (localName.equals("pre-destroy"))
{
return new Method();
}
else if (localName.equals("post-activate"))
{
return new Method();
}
else if (localName.equals("pre-passivate"))
{
return new Method();
}
return child;
|
public java.lang.Object | newChild(AssemblyDescriptor relationships, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("security-role"))
{
child = new SecurityRole();
}
else if (localName.equals("method-permission"))
{
child = new MethodPermission();
}
if (localName.equals("container-transaction"))
{
child = new ContainerTransaction();
}
else if (localName.equals("inject"))
{
child = new Inject();
}
else if (localName.equals("exclude-list"))
{
child = new ExcludeList();
}
else if (localName.equals("application-exception"))
{
child = new ApplicationException();
}
else if (localName.equals("interceptor-binding"))
{
child = new InterceptorBinding();
}
return child;
|
public java.lang.Object | newChild(Inject inject, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("method"))
{
child = new Method();
}
return child;
|
public java.lang.Object | newChild(MethodPermission permission, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("method"))
{
child = new Method();
}
else if (localName.equals("unchecked"))
{
permission.setUnchecked(true);
}
return child;
|
public java.lang.Object | newChild(ExcludeList list, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("method"))
{
child = new Method();
}
return child;
|
public java.lang.Object | newChild(InitList list, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("method"))
{
child = new Method();
}
return child;
|
public java.lang.Object | newChild(ContainerTransaction transaction, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("method"))
{
child = new Method();
}
return child;
|
public java.lang.Object | newChild(Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = null;
if (localName.equals("method-params"))
{
method.setHasParameters();
}
return child;
|
public java.lang.Object | newChild(InterceptorBinding binding, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = null;
if (localName.equals("interceptor-order"))
{
child = new InterceptorOrder();
}
else if (localName.equals("exclude-default-interceptors"))
{
child = new ExcludeDefaultInterceptors();
}
else if (localName.equals("exclude-class-interceptors"))
{
child = new ExcludeClassInterceptors();
}
else if (localName.equals("method-params"))
{
binding.setHasParameters();
}
return child;
|
public java.lang.Object | newChild(EjbJarDD dd, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("enterprise-beans"))
{
child = new EnterpriseBeans();
}
if (localName.equals("interceptors"))
{
child = new Interceptors();
}
else if (localName.equals("relationships"))
{
child = new Relationships();
}
else if (localName.equals("assembly-descriptor"))
{
child = new AssemblyDescriptor();
}
return child;
|
public java.lang.Object | newChild(EnterpriseBeans ejbs, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)Called when parsing of a new element started.
Object child = null;
if (localName.equals("session"))
{
child = new SessionEnterpriseBean();
}
else if (localName.equals("entity"))
{
child = new EntityEnterpriseBean();
}
else if (localName.equals("message-driven"))
{
child = new MessageDrivenBean();
}
return child;
|
public java.lang.Object | newChild(MessageDrivenBean parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = newEjbChild(parent, localName);
if (child != null)
return child;
child = newEjbHasInterceptorsChild(parent, localName);
if (child != null)
return child;
if (localName.equals("message-driven-destination"))
{
child = new MessageDrivenDestination();
}
else if (localName.equals("activation-config"))
{
child = new ActivationConfig();
}
return child;
|
public java.lang.Object | newChild(ActivationConfig parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
Object child = null;
if (localName.equals("activation-config-property"))
{
child = new NameValuePair();
}
return child;
|
private java.lang.Object | newEjbChild(EnterpriseBean parent, java.lang.String localName)Called when parsing of a new element started.
Object child = null;
if ((child = super.newEnvRefGroupChild(localName)) != null)
return child;
return child;
|
private java.lang.Object | newEjbHasInterceptorsChild(EnterpriseBean parent, java.lang.String localName)
Object child = null;
if (localName.equals("around-invoke"))
{
child = new Method();
}
else if (localName.equals("post-construct"))
{
child = new Method();
}
else if (localName.equals("pre-destroy"))
{
child = new Method();
}
else if (localName.equals("post-activate"))
{
child = new Method();
}
else if (localName.equals("pre-passivate"))
{
child = new Method();
}
return child;
|
public java.lang.Object | newRoot(java.lang.Object root, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, org.xml.sax.Attributes attrs)
final EjbJarDD dd;
if (root == null)
{
root = dd = new EjbJarDD();
}
else
{
dd = (EjbJarDD)root;
}
if (attrs.getLength() > 0)
{
for (int i = 0; i < attrs.getLength(); ++i)
{
if (attrs.getLocalName(i).equals("version"))
{
dd.setVersion(attrs.getValue(i));
}
}
}
return root;
|
public static EjbJarDD | parse(java.net.URL ddResource)
ObjectModelFactory factory = null;
Unmarshaller unmarshaller = null;
EjbJarDD dd = null;
if (ddResource != null)
{
log.debug("found ejb-jar.xml " + ddResource);
factory = new EjbJarDDObjectFactory();
UnmarshallerFactory unmarshallerFactory = UnmarshallerFactory.newInstance();
unmarshaller = unmarshallerFactory.newUnmarshaller();
unmarshaller.setEntityResolver(new JBossEntityResolver());
unmarshaller.setNamespaceAware(true);
unmarshaller.setSchemaValidation(true);
unmarshaller.setValidation(true);
dd = (EjbJarDD)unmarshaller.unmarshal(ddResource.openStream(), factory, null);
}
return dd;
|
public void | setValue(SecurityIdentity si, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("use-caller-identity"))
{
si.setUseCallerIdentity(true);
}
|
public void | setValue(Interceptor interceptor, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
if (localName.equals("interceptor-class"))
{
interceptor.setInterceptorClass(getValue(localName, value));
}
|
public void | setValue(EjbRelation relation, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("ejb-relation-name"))
{
relation.setEjbRelationName(getValue(localName, value));
}
|
public void | setValue(EjbRelationshipRole role, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("ejb-relationship-role-name"))
{
role.setEjbRelationshipRoleName(getValue(localName, value));
}
else if (localName.equals("multiplicity"))
{
role.setMultiplicity(getValue(localName, value));
}
|
public void | setValue(RelationshipRoleSource source, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("ejb-name"))
{
source.setEjbName(getValue(localName, value));
}
|
public void | setValue(CmrField field, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("cmr-field-name"))
{
field.setCmrFieldName(getValue(localName, value));
}
else if (localName.equals("cmr-field-type"))
{
field.setCmrFieldType(getValue(localName, value));
}
|
public void | setValue(org.jboss.metamodel.descriptor.SecurityRole role, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("role-name"))
{
role.setRoleName(getValue(localName, value));
}
|
public void | setValue(MethodPermission permission, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("role-name"))
{
permission.addRoleName(getValue(localName, value));
}
else if (localName.equals("unchecked"))
{
permission.setUnchecked(true);
}
|
public void | setValue(ContainerTransaction transaction, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("trans-attribute"))
{
transaction.setTransAttribute(getValue(localName, value));
}
|
public void | setValue(Method method, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("ejb-name"))
{
method.setEjbName(getValue(localName, value));
}
else if (localName.equals("method-name"))
{
method.setMethodName(getValue(localName, value));
}
else if (localName.equals("method-param"))
{
method.addMethodParam(getValue(localName, value));
}
else if (localName.equals("lifecycle-callback-method"))
{
method.setMethodName(getValue(localName, value));
}
|
public void | setValue(Inject inject, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("jndi-name"))
{
inject.setJndiName(getValue(localName, value));
}
|
public void | setValue(InterceptorBinding binding, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
if (localName.equals("ejb-name"))
{
binding.setEjbName(getValue(localName, value));
}
else if (localName.equals("interceptor-class"))
{
binding.addInterceptorClass(getValue(localName, value));
}
else if (localName.equals("method-name"))
{
binding.setMethodName(getValue(localName, value));
}
else if (localName.equals("method-param"))
{
binding.addMethodParam(getValue(localName, value));
}
else if (localName.equals("exclude-default-interceptors"))
{
binding.setExcludeDefaultInterceptors(true);
}
else if (localName.equals("exclude-class-interceptors"))
{
binding.setExcludeClassInterceptors(true);
}
|
public void | setValue(InterceptorOrder order, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
if (localName.equals("interceptor-class"))
{
order.addInterceptorClass(getValue(localName, value));
}
|
public void | setValue(RemoveMethod dd, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("retain-if-exception"))
{
dd.setRetainIfException(Boolean.parseBoolean(getValue(localName, value)));
}
|
public void | setValue(EjbJarDD dd, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("display-name"))
{
dd.setDisplayName(getValue(localName, value));
}
|
public void | setValue(org.jboss.metamodel.descriptor.NameValuePair property, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("activation-config-property-name"))
{
property.setName(getValue(localName, value));
}
else if (localName.equals("activation-config-property-value"))
{
property.setValue(getValue(localName, value));
}
|
public void | setValue(MessageDrivenBean ejb, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (!isEjbParentName(ejb, localName, value))
{
if (localName.equals("acknowledge-mode"))
{
ejb.setAcknowledgeMode(getValue(localName, value));
}
else if (localName.equals("transaction-type"))
{
ejb.setTransactionType(getValue(localName, value));
}
else if (localName.equals("messaging-type"))
{
ejb.setMessagingType(getValue(localName, value));
}
else if (localName.equals("message-destination-type"))
{
MessageDrivenDestination destination = ejb.getMessageDrivenDestination();
if (destination == null)
{
destination = new MessageDrivenDestination();
ejb.setMessageDrivenDestination(destination);
}
destination.setDestinationType(getValue(localName, value));
}
}
|
public void | setValue(MessageDrivenDestination destination, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("destination-type"))
{
destination.setDestinationType(getValue(localName, value));
}
else if (localName.equals("subscription-durability"))
{
destination.setSubscriptionDurability(getValue(localName, value));
}
|
public void | setValue(SessionEnterpriseBean ejb, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (!isEjbParentName(ejb, localName, value))
{
if (localName.equals("session-type"))
{
ejb.setSessionType(getValue(localName, value));
}
else if (localName.equals("transaction-type"))
{
ejb.setTransactionManagementType(getValue(localName, value));
}
}
|
public void | setValue(ApplicationException exception, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (localName.equals("exception-class"))
{
exception.setExceptionClass(getValue(localName, value));
}
else if (localName.equals("rollback"))
{
exception.setRollback(Boolean.valueOf(getValue(localName, value)));
}
|
public void | setValue(EntityEnterpriseBean ejb, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)Called when a child element with simple content is read for DD.
if (!isEjbParentName(ejb, localName, value))
{
if (localName.equals("persistence-type"))
{
ejb.setPersistenceType(getValue(localName, value));
}
}
|
public void | setValue(org.jboss.metamodel.descriptor.SecurityRoleRef parent, org.jboss.xb.binding.UnmarshallingContext navigator, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
if (localName.equals("role-name"))
{
parent.setRoleName(value);
}
else if (localName.equals("role-link"))
{
parent.setRoleLink(value);
}
|