private EjbBundleDescriptor descriptor;
public EjbBundleNode() {
super();
// register sub XMLNodes
registerElementHandler(new XMLElement(EjbTagNames.SESSION),
EjbSessionNode.class);
registerElementHandler(new XMLElement(EjbTagNames.ENTITY),
EjbEntityNode.class);
registerElementHandler(new XMLElement(EjbTagNames.MESSAGE_DRIVEN),
MessageDrivenBeanNode.class);
registerElementHandler(new XMLElement(EjbTagNames.METHOD_PERMISSION),
MethodPermissionNode.class);
registerElementHandler(new XMLElement(EjbTagNames.ROLE),
SecurityRoleNode.class, "addRole");
registerElementHandler(new XMLElement(EjbTagNames.CONTAINER_TRANSACTION),
ContainerTransactionNode.class);
registerElementHandler(new XMLElement(EjbTagNames.EXCLUDE_LIST),
ExcludeListNode.class);
registerElementHandler(new XMLElement(EjbTagNames.RELATIONSHIPS),
RelationshipsNode.class);
registerElementHandler(new XMLElement(TagNames.MESSAGE_DESTINATION),
MessageDestinationNode.class,
"addMessageDestination");
registerElementHandler(new XMLElement(EjbTagNames.APPLICATION_EXCEPTION),
EjbApplicationExceptionNode.class,
"addApplicationException");
registerElementHandler(new XMLElement(EjbTagNames.INTERCEPTOR),
EjbInterceptorNode.class,
"addInterceptor");
registerElementHandler(new XMLElement(EjbTagNames.INTERCEPTOR_BINDING),
InterceptorBindingNode.class,
"appendInterceptorBinding");
}