|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Node
A cluster defines a homogeneous set of server instances that share the same applications, resources, and configuration.
| Nested Class Summary | |
|---|---|
static class |
Node.Decorator
|
static class |
Node.DeleteDecorator
|
static class |
Node.Duck
|
| Method Summary | |
|---|---|
java.lang.String |
getFreeze()
true if node is frozen and we should not allow new instances to be created on the nod. |
java.lang.String |
getInstallDir()
points to a GlassFish installation root |
java.lang.String |
getInstallDirUnixStyle()
Returns the install dir with separators as forward slashes. |
java.lang.String |
getName()
|
java.lang.String |
getNodeDir()
points to the parent directory of the node(s) directory. |
java.lang.String |
getNodeDirAbsolute()
Returns the node dir as an absolute path. |
java.lang.String |
getNodeDirAbsoluteUnixStyle()
|
java.lang.String |
getNodeDirUnixStyle()
Returns the node dir with separators as forward slashes. |
java.lang.String |
getNodeHost()
points to a named host. |
SshConnector |
getSshConnector()
|
java.lang.String |
getType()
|
java.lang.String |
getWindowsDomain()
specifies the windows domain if applicable |
boolean |
instanceCreationAllowed()
Does the node allow instance creation? |
boolean |
isDefaultLocalNode()
True if this is the default local node. |
boolean |
isLocal()
True if the node's nodeHost is local to this |
boolean |
nodeInUse()
Is a node being used by any server instance? |
void |
setFreeze(java.lang.String value)
Sets the value of the freeze |
void |
setInstallDir(java.lang.String value)
Sets the value of install-dir, the GlassFish installation root. |
void |
setName(java.lang.String value)
Sets the node name |
void |
setNodeDir(java.lang.String value)
Sets the value of the node-dir, top-level parent directory of node(s) |
void |
setNodeHost(java.lang.String value)
Sets the value of the name property. |
void |
setSshConnector(SshConnector connector)
|
void |
setType(java.lang.String value)
Sets the value of type of this node. |
void |
setWindowsDomain(java.lang.String value)
Sets the value of the windows domain property. |
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
|---|
injectedInto |
| Methods inherited from interface org.glassfish.api.admin.config.ReferenceContainer |
|---|
getReference, isCluster, isDas, isInstance, isServer |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.RefContainer |
|---|
getApplicationRef, getResourceRef |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
void setName(java.lang.String value)
throws java.beans.PropertyVetoException
setName in interface Namedvalue - node name
java.beans.PropertyVetoException - if a listener vetoes the change
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
message="{node.invalid.name}",
payload=Node.class)
java.lang.String getName()
getName in interface Namedjava.lang.String getNodeDir()
void setNodeDir(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",
message="{nodehost.invalid.name}",
payload=Node.class)
java.lang.String getNodeHost()
void setNodeHost(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.lang.String getInstallDir()
void setInstallDir(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.lang.String getType()
void setType(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\./;#]*",
message="{windowsdomain.invalid.name}",
payload=Node.class)
java.lang.String getWindowsDomain()
void setWindowsDomain(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.lang.String getFreeze()
void setFreeze(java.lang.String value)
throws java.beans.PropertyVetoException
value - "true" to freeze node and not allow instances to be created
java.beans.PropertyVetoException - if a listener vetoes the changeSshConnector getSshConnector()
void setSshConnector(SshConnector connector)
@DuckTyped java.lang.String getInstallDirUnixStyle()
@DuckTyped java.lang.String getNodeDirUnixStyle()
@DuckTyped java.lang.String getNodeDirAbsolute()
@DuckTyped java.lang.String getNodeDirAbsoluteUnixStyle()
@DuckTyped boolean nodeInUse()
@DuckTyped boolean isDefaultLocalNode()
@DuckTyped boolean isLocal()
@DuckTyped boolean instanceCreationAllowed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||