Class GlassfishDomain.Server

java.lang.Object
com.priint.pubserver.appserver.GlassfishDomain.Server
All Implemented Interfaces:
Serializable
Enclosing class:
GlassfishDomain

public static class GlassfishDomain.Server extends Object implements Serializable
The type Server.
See Also:
  • Field Details

    • configRef

      protected String configRef
      The Config ref.
    • name

      protected String name
      The Name.
  • Constructor Details

    • Server

      public Server()
      Instantiates a new Server.
    • Server

      public Server(String name)
      Instantiates a new Server.
      Parameters:
      name - the name
  • Method Details

    • getApplicationRef

      public <T> T getApplicationRef(Class<T> clazz, String name)
      Gets application ref.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      name - the name
      Returns:
      the application ref
    • getApplicationRefs

      public List<GlassfishDomain.Reference> getApplicationRefs()
      Gets application refs.
      Returns:
      the application refs
    • getApplicationRefs

      public <T> List<T> getApplicationRefs(Class<T> clazz)
      Gets application refs.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      Returns:
      the application refs
    • getConfigRef

      public String getConfigRef()
      Gets config ref.
      Returns:
      the config ref
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getResourceRef

      public <T> T getResourceRef(Class<T> clazz, String name)
      Gets resource ref.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      name - the name
      Returns:
      the resource ref
    • getResourceRefs

      public List<GlassfishDomain.Reference> getResourceRefs()
      Gets resource refs.
      Returns:
      the resource refs
    • getResourceRefs

      public <T> List<T> getResourceRefs(Class<T> clazz)
      Gets resource refs.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      Returns:
      the resource refs
    • getSystemProperties

      public List<GlassfishDomain.Property> getSystemProperties()
      Gets system properties.
      Returns:
      the system properties
    • getSystemProperties

      public <T> List<T> getSystemProperties(Class<T> clazz)
      Gets system properties.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      Returns:
      the system properties
    • getSystemProperty

      public <T> T getSystemProperty(Class<T> clazz, String name)
      Gets system property.
      Type Parameters:
      T - the type parameter
      Parameters:
      clazz - the clazz
      name - the name
      Returns:
      the system property
    • setConfigRef

      public void setConfigRef(String configRef)
      Sets config ref.
      Parameters:
      configRef - the config ref
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name