|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Domain
| Nested Class Summary | |
|---|---|
static class |
Domain.Duck
|
| Field Summary | |
|---|---|
static String |
DOMAIN_NAME_PROPERTY
|
| Method Summary | |
|---|---|
List<Application> |
getAllDefinedSystemApplications()
|
List<ReferenceContainer> |
getAllReferenceContainers()
|
List<String> |
getAllReferencedTargetsForApplication(String appName)
|
List<String> |
getAllTargets()
|
AmxPref |
getAmxPref()
|
ApplicationRef |
getApplicationRefInServer(String sn,
String name)
|
ApplicationRef |
getApplicationRefInTarget(String appName,
String target)
|
ApplicationRef |
getApplicationRefInTarget(String appName,
String target,
boolean includeInstances)
|
List<ApplicationRef> |
getApplicationRefsInServer(String sn)
|
List<ApplicationRef> |
getApplicationRefsInTarget(String target)
|
String |
getApplicationRoot()
Gets the value of the applicationRoot property. |
Applications |
getApplications()
Gets the value of the applications property. |
List<Application> |
getApplicationsInTarget(String target)
|
Cluster |
getClusterForInstance(String instanceName)
|
Cluster |
getClusterNamed(String name)
|
Clusters |
getClusters()
Gets the value of the clusters property. |
List<Cluster> |
getClustersOnNode(String nodeName)
|
Config |
getConfigNamed(String name)
|
Configs |
getConfigs()
Gets the value of the configs property. |
String |
getEnabledForApplication(String target,
String appName)
|
List<Server> |
getInstancesOnNode(String nodeName)
|
LbConfigs |
getLbConfigs()
Gets the value of the lbConfigs property. |
LoadBalancers |
getLoadBalancers()
Gets the value of the loadBalancers property. |
String |
getLocale()
Gets the value of the locale property. |
String |
getLogRoot()
Gets the value of the logRoot property. |
String |
getName()
|
NodeAgents |
getNodeAgents()
Gets the value of the nodeAgents property. |
Node |
getNodeNamed(String name)
|
Nodes |
getNodes()
Gets the value of the nodes property. |
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per PropertyBag |
ReferenceContainer |
getReferenceContainerNamed(String name)
|
List<ReferenceContainer> |
getReferenceContainersOf(Config config)
|
Resources |
getResources()
Gets the value of the resources property. |
SecureAdmin |
getSecureAdmin()
Gets the SecureAdmin value defined in the domain. |
Server |
getServerNamed(String name)
|
Servers |
getServers()
Gets the value of the servers property. |
List<Server> |
getServersInTarget(String target)
|
Application |
getSystemApplicationReferencedFrom(String sn,
String appName)
|
SystemApplications |
getSystemApplications()
|
List<Application> |
getSystemApplicationsReferencedFrom(String sn)
Returns the list of system-applications that are referenced from the given server. |
List<SystemProperty> |
getSystemProperty()
Gets the value of the systemProperty property. |
String |
getVersion()
Gets the value of the version property. |
String |
getVirtualServersForApplication(String target,
String appName)
|
boolean |
isAppEnabledInTarget(String appName,
String target)
|
boolean |
isAppRefEnabledInTarget(String appName,
String target)
|
boolean |
isCurrentInstanceMatchingTarget(String target,
String appName,
String currentInstance,
List<String> referencedTargets)
|
boolean |
isNamedSystemApplicationReferencedFrom(String appName,
String serverName)
|
boolean |
isServer(String name)
|
void |
setAmxPref(AmxPref amxPrefs)
|
void |
setApplicationRoot(String value)
Sets the value of the applicationRoot property. |
void |
setApplications(Applications value)
Sets the value of the system-applications property. |
void |
setClusters(Clusters value)
Sets the value of the clusters property. |
void |
setConfigs(Configs value)
Sets the value of the configs property. |
void |
setLbConfigs(LbConfigs value)
Sets the value of the lbConfigs property. |
void |
setLoadBalancers(LoadBalancers value)
Sets the value of the loadBalancers property. |
void |
setLocale(String value)
Sets the value of the locale property. |
void |
setLogRoot(String value)
Sets the value of the logRoot property. |
void |
setNodeAgents(NodeAgents value)
Sets the value of the nodeAgents property. |
void |
setNodes(Nodes value)
Sets the value of the nodes property. |
void |
setResources(Resources value)
Sets the value of the resources property. |
void |
setSecureAdmin(SecureAdmin secureAdmin)
Sets the SecureAdmin value. |
void |
setServers(Servers value)
Sets the value of the servers property. |
void |
setSystemApplications(SystemApplications value)
Sets the value of the system-applications property. |
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
|---|
injectedInto |
| Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag |
|---|
getProperty, getPropertyValue, getPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.SystemPropertyBag |
|---|
containsProperty, getPropertyValue, getSystemProperty, getSystemPropertyValue |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Field Detail |
|---|
static final String DOMAIN_NAME_PROPERTY
| Method Detail |
|---|
String getApplicationRoot()
String
void setApplicationRoot(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoExceptionString getLogRoot()
String
void setLogRoot(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoExceptionString getLocale()
String
void setLocale(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoExceptionString getVersion()
SecureAdmin getSecureAdmin()
SecureAdminvoid setSecureAdmin(SecureAdmin secureAdmin)
secureAdmin - @NotNull Applications getApplications()
Applications
void setApplications(Applications value)
throws PropertyVetoException
value - allowed object is
Applications
PropertyVetoException@NotNull SystemApplications getSystemApplications()
void setSystemApplications(SystemApplications value)
throws PropertyVetoException
value - allowed object is
Applications
PropertyVetoException@NotNull Resources getResources()
Resources
void setResources(Resources value)
throws PropertyVetoException
value - allowed object is
Resources
PropertyVetoException@NotNull Configs getConfigs()
Configs
void setConfigs(Configs value)
throws PropertyVetoException
value - allowed object is
Configs
PropertyVetoException@NotNull Servers getServers()
Servers
void setServers(Servers value)
throws PropertyVetoException
value - allowed object is
Servers
PropertyVetoException@NotNull Clusters getClusters()
Clusters
void setClusters(Clusters value)
throws PropertyVetoException
value - allowed object is
Clusters
PropertyVetoExceptionNodes getNodes()
Nodes
void setNodes(Nodes value)
throws PropertyVetoException
value - allowed object is
Nodes
PropertyVetoExceptionNodeAgents getNodeAgents()
NodeAgents
void setNodeAgents(NodeAgents value)
throws PropertyVetoException
value - allowed object is
NodeAgents
PropertyVetoException@NotNull LbConfigs getLbConfigs()
LbConfigs
void setLbConfigs(LbConfigs value)
throws PropertyVetoException
value - allowed object is
LbConfigs
PropertyVetoException@NotNull LoadBalancers getLoadBalancers()
LoadBalancers
void setLoadBalancers(LoadBalancers value)
throws PropertyVetoException
value - allowed object is
LoadBalancers
PropertyVetoExceptionAmxPref getAmxPref()
void setAmxPref(AmxPref amxPrefs)
throws PropertyVetoException
PropertyVetoException
@ToDo(priority=IMPORTANT,
details="Any more legal system properties?")
@PropertiesDesc(systemProperties=true,
props={@PropertyDesc(name="com.sun.aas.installRoot",description="Operating system dependent. Path to the directory where the server is installed"),@PropertyDesc(name="com.sun.aas.instanceRoot",description="Operating system dependent. Path to the top level directory for a server instance"),@PropertyDesc(name="com.sun.aas.hostName",description="Operating system dependent. Path to the name of the host (machine)"),@PropertyDesc(name="com.sun.aas.javaRoot",description="Operating system dependent. Path to the library directory for the Sun GlassFish Message Queue software"),@PropertyDesc(name="com.sun.aas.imqLib",description="Operating system dependent. Path to the installation directory for the Java runtime"),@PropertyDesc(name="com.sun.aas.imqLib",description="Operating system dependent. Path to the installation directory for the Java runtime"),@PropertyDesc(name="com.sun.aas.configName",defaultValue="server-config",description="Name of the used by a server instance"),@PropertyDesc(name="com.sun.aas.instanceName",defaultValue="server1",description="Name of the server instance. Not used in the default configuration, but can be used to customize configuration"),@PropertyDesc(name="com.sun.aas.domainName",defaultValue="domain1",description="Name of the domain. Not used in the default configuration, but can be used to customize configuration")})
List<SystemProperty> getSystemProperty()
set method for the systemProperty property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SystemProperty
getSystemProperty in interface SystemPropertyBag
@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBag
getProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped String getName()
@DuckTyped List<Application> getAllDefinedSystemApplications()
@DuckTyped
ApplicationRef getApplicationRefInServer(String sn,
String name)
@DuckTyped List<ApplicationRef> getApplicationRefsInServer(String sn)
@DuckTyped List<Application> getSystemApplicationsReferencedFrom(String sn)
sn - the string denoting name of the server
@DuckTyped
Application getSystemApplicationReferencedFrom(String sn,
String appName)
@DuckTyped
boolean isNamedSystemApplicationReferencedFrom(String appName,
String serverName)
@DuckTyped Server getServerNamed(String name)
@DuckTyped boolean isServer(String name)
@DuckTyped Config getConfigNamed(String name)
@DuckTyped Cluster getClusterNamed(String name)
@DuckTyped Node getNodeNamed(String name)
@DuckTyped
boolean isCurrentInstanceMatchingTarget(String target,
String appName,
String currentInstance,
List<String> referencedTargets)
@DuckTyped List<Server> getServersInTarget(String target)
@DuckTyped List<ApplicationRef> getApplicationRefsInTarget(String target)
@DuckTyped
ApplicationRef getApplicationRefInTarget(String appName,
String target)
@DuckTyped
ApplicationRef getApplicationRefInTarget(String appName,
String target,
boolean includeInstances)
@DuckTyped
boolean isAppRefEnabledInTarget(String appName,
String target)
@DuckTyped
boolean isAppEnabledInTarget(String appName,
String target)
@DuckTyped List<String> getAllReferencedTargetsForApplication(String appName)
@DuckTyped List<String> getAllTargets()
@DuckTyped List<Application> getApplicationsInTarget(String target)
@DuckTyped
String getVirtualServersForApplication(String target,
String appName)
@DuckTyped
String getEnabledForApplication(String target,
String appName)
@DuckTyped ReferenceContainer getReferenceContainerNamed(String name)
@DuckTyped Cluster getClusterForInstance(String instanceName)
@DuckTyped List<ReferenceContainer> getAllReferenceContainers()
@DuckTyped List<ReferenceContainer> getReferenceContainersOf(Config config)
@DuckTyped List<Server> getInstancesOnNode(String nodeName)
@DuckTyped List<Cluster> getClustersOnNode(String nodeName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||