Package org.jboss.shrinkwrap.descriptor.spi.node

Examples of org.jboss.shrinkwrap.descriptor.spi.node.Node


    * Otherwise, the existing <code>outbound-resourceadapter</code> element will be returned.
    * @return  a new or existing instance of <code>OutboundResourceadapterType<ResourceadapterType<T>></code>
    */
   public OutboundResourceadapterType<ResourceadapterType<T>> getOrCreateOutboundResourceadapter()
   {
      Node node = childNode.getOrCreate("outbound-resourceadapter");
      OutboundResourceadapterType<ResourceadapterType<T>> outboundResourceadapter = new OutboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "outbound-resourceadapter", childNode, node);
      return outboundResourceadapter;
   }
View Full Code Here


    * Otherwise, the existing <code>inbound-resourceadapter</code> element will be returned.
    * @return  a new or existing instance of <code>InboundResourceadapterType<ResourceadapterType<T>></code>
    */
   public InboundResourceadapterType<ResourceadapterType<T>> getOrCreateInboundResourceadapter()
   {
      Node node = childNode.getOrCreate("inbound-resourceadapter");
      InboundResourceadapterType<ResourceadapterType<T>> inboundResourceadapter = new InboundResourceadapterTypeImpl<ResourceadapterType<T>>(this, "inbound-resourceadapter", childNode, node);
      return inboundResourceadapter;
   }
View Full Code Here

    * Otherwise, the existing <code>persistence-unit-metadata</code> element will be returned.
    * @return  a new or existing instance of <code>PersistenceUnitMetadata<EntityMappings<T>></code>
    */
   public PersistenceUnitMetadata<EntityMappings<T>> getOrCreatePersistenceUnitMetadata()
   {
      Node node = childNode.getOrCreate("persistence-unit-metadata");
      PersistenceUnitMetadata<EntityMappings<T>> persistenceUnitMetadata = new PersistenceUnitMetadataImpl<EntityMappings<T>>(this, "persistence-unit-metadata", childNode, node);
      return persistenceUnitMetadata;
   }
View Full Code Here

    * Otherwise, the existing <code>activationspec</code> element will be returned.
    * @return  a new or existing instance of <code>ActivationspecType<MessagelistenerType<T>></code>
    */
   public ActivationspecType<MessagelistenerType<T>> getOrCreateActivationspec()
   {
      Node node = childNode.getOrCreate("activationspec");
      ActivationspecType<MessagelistenerType<T>> activationspec = new ActivationspecTypeImpl<MessagelistenerType<T>>(this, "activationspec", childNode, node);
      return activationspec;
   }
View Full Code Here

   // Constructor
   // -------------------------------------------------------------------------------------||

   public ValidationConfigurationDescriptorImpl(String descriptorName)
   {
       this(descriptorName, new Node("validation-config"));
   }
View Full Code Here

    * Otherwise, the existing <code>executable-validation</code> element will be returned.
    * @return  a new or existing instance of <code>ExecutableValidationType<ValidationConfigurationDescriptor></code>
    */
   public ExecutableValidationType<ValidationConfigurationDescriptor> getOrCreateExecutableValidation()
   {
      Node node = model.getOrCreate("executable-validation");
      ExecutableValidationType<ValidationConfigurationDescriptor> executableValidation = new ExecutableValidationTypeImpl<ValidationConfigurationDescriptor>(this, "executable-validation", model, node);
      return executableValidation;
   }
View Full Code Here

    * Otherwise, the existing <code>join-table</code> element will be returned.
    * @return  a new or existing instance of <code>JoinTable<AssociationOverride<T>></code>
    */
   public JoinTable<AssociationOverride<T>> getOrCreateJoinTable()
   {
      Node node = childNode.getOrCreate("join-table");
      JoinTable<AssociationOverride<T>> joinTable = new JoinTableImpl<AssociationOverride<T>>(this, "join-table", childNode, node);
      return joinTable;
   }
View Full Code Here

    * Otherwise, the existing <code>security-identity</code> element will be returned.
    * @return  a new or existing instance of <code>SecurityIdentityType<EntityBeanType<T>></code>
    */
   public SecurityIdentityType<EntityBeanType<T>> getOrCreateSecurityIdentity()
   {
      Node node = childNode.getOrCreate("security-identity");
      SecurityIdentityType<EntityBeanType<T>> securityIdentity = new SecurityIdentityTypeImpl<EntityBeanType<T>>(this, "security-identity", childNode, node);
      return securityIdentity;
   }
View Full Code Here

    * Otherwise, the existing <code>timeout-method</code> element will be returned.
    * @return  a new or existing instance of <code>NamedMethodType<MessageDrivenBeanType<T>></code>
    */
   public NamedMethodType<MessageDrivenBeanType<T>> getOrCreateTimeoutMethod()
   {
      Node node = childNode.getOrCreate("timeout-method");
      NamedMethodType<MessageDrivenBeanType<T>> timeoutMethod = new NamedMethodTypeImpl<MessageDrivenBeanType<T>>(this, "timeout-method", childNode, node);
      return timeoutMethod;
   }
View Full Code Here

    * Otherwise, the existing <code>activation-config</code> element will be returned.
    * @return  a new or existing instance of <code>ActivationConfigType<MessageDrivenBeanType<T>></code>
    */
   public ActivationConfigType<MessageDrivenBeanType<T>> getOrCreateActivationConfig()
   {
      Node node = childNode.getOrCreate("activation-config");
      ActivationConfigType<MessageDrivenBeanType<T>> activationConfig = new ActivationConfigTypeImpl<MessageDrivenBeanType<T>>(this, "activation-config", childNode, node);
      return activationConfig;
   }
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.descriptor.spi.node.Node

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.