Package com.priint.pubserver.appserver
Class GlassfishDomain.Server
- java.lang.Object
-
- com.priint.pubserver.appserver.GlassfishDomain.Server
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- GlassfishDomain
public static class GlassfishDomain.Server extends java.lang.Object implements java.io.SerializableThe type Server.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetApplicationRef(java.lang.Class<T> clazz, java.lang.String name)Gets application ref.java.util.List<GlassfishDomain.Reference>getApplicationRefs()Gets application refs.<T> java.util.List<T>getApplicationRefs(java.lang.Class<T> clazz)Gets application refs.java.lang.StringgetConfigRef()Gets config ref.java.lang.StringgetName()Gets name.<T> TgetResourceRef(java.lang.Class<T> clazz, java.lang.String name)Gets resource ref.java.util.List<GlassfishDomain.Reference>getResourceRefs()Gets resource refs.<T> java.util.List<T>getResourceRefs(java.lang.Class<T> clazz)Gets resource refs.java.util.List<GlassfishDomain.Property>getSystemProperties()Gets system properties.<T> java.util.List<T>getSystemProperties(java.lang.Class<T> clazz)Gets system properties.<T> TgetSystemProperty(java.lang.Class<T> clazz, java.lang.String name)Gets system property.voidsetConfigRef(java.lang.String configRef)Sets config ref.voidsetName(java.lang.String name)Sets name.
-
-
-
Method Detail
-
getApplicationRef
public <T> T getApplicationRef(java.lang.Class<T> clazz, java.lang.String name)Gets application ref.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazzname- the name- Returns:
- the application ref
-
getApplicationRefs
public java.util.List<GlassfishDomain.Reference> getApplicationRefs()
Gets application refs.- Returns:
- the application refs
-
getApplicationRefs
public <T> java.util.List<T> getApplicationRefs(java.lang.Class<T> clazz)
Gets application refs.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazz- Returns:
- the application refs
-
getConfigRef
public java.lang.String getConfigRef()
Gets config ref.- Returns:
- the config ref
-
getName
public java.lang.String getName()
Gets name.- Returns:
- the name
-
getResourceRef
public <T> T getResourceRef(java.lang.Class<T> clazz, java.lang.String name)Gets resource ref.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazzname- the name- Returns:
- the resource ref
-
getResourceRefs
public java.util.List<GlassfishDomain.Reference> getResourceRefs()
Gets resource refs.- Returns:
- the resource refs
-
getResourceRefs
public <T> java.util.List<T> getResourceRefs(java.lang.Class<T> clazz)
Gets resource refs.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazz- Returns:
- the resource refs
-
getSystemProperties
public java.util.List<GlassfishDomain.Property> getSystemProperties()
Gets system properties.- Returns:
- the system properties
-
getSystemProperties
public <T> java.util.List<T> getSystemProperties(java.lang.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(java.lang.Class<T> clazz, java.lang.String name)Gets system property.- Type Parameters:
T- the type parameter- Parameters:
clazz- the clazzname- the name- Returns:
- the system property
-
setConfigRef
public void setConfigRef(java.lang.String configRef)
Sets config ref.- Parameters:
configRef- the config ref
-
setName
public void setName(java.lang.String name)
Sets name.- Parameters:
name- the name
-
-