|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ConfigRefConstraint(message="{configref.invalid}",
payload=ConfigRefValidator.class)
public interface ServerJava EE Application Server Configuration Each Application Server instance is a Java EE compliant container. One server instance is specially designated as the Administration Server in SE/EE User applications cannot be deployed to an Administration Server instance
| Nested Class Summary | |
|---|---|
static class |
Server.CreateDecorator
|
static class |
Server.DeleteDecorator
|
static class |
Server.Duck
|
| Field Summary | |
|---|---|
static String |
CLUSTER_MEMBER_NAME_PROP
|
static String |
lbEnabledSystemProperty
|
| Method Summary | |
|---|---|
void |
createResourceRef(String enabled,
String refName)
|
void |
deleteResourceRef(String name)
|
String |
getAdminHost()
|
int |
getAdminPort()
|
ApplicationRef |
getApplicationRef(String appName)
|
Cluster |
getCluster()
Returns the cluster instance this instance is referenced in or null if there is no cluster referencing this server instance. |
String |
getClusterMemberName()
|
Config |
getConfig()
|
String |
getConfigRef()
Gets the value of the configRef property. |
String |
getLbWeight()
Gets the value of the lbWeight property. |
String |
getName()
|
String |
getNodeAgentRef()
Deprecated. |
String |
getNodeRef()
Gets the value of the node property. |
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per PropertyBag |
String |
getReference()
|
ResourceRef |
getResourceRef(String name)
|
List<SystemProperty> |
getSystemProperty()
Gets the value of the systemProperty property. |
boolean |
isCluster()
|
boolean |
isClusteredDas()
|
boolean |
isDas()
|
boolean |
isInstance()
|
boolean |
isResourceRefExists(String refName)
|
boolean |
isRunning()
|
boolean |
isServer()
|
void |
setConfigRef(String value)
Sets the value of the configRef property. |
void |
setLbWeight(String value)
Sets the value of the lbWeight property. |
void |
setName(String value)
|
void |
setNodeAgentRef(String value)
Deprecated. |
void |
setNodeRef(String value)
Sets the value of the node 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 com.sun.enterprise.config.serverbeans.RefContainer |
|---|
getApplicationRef, getResourceRef |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Field Detail |
|---|
static final String lbEnabledSystemProperty
static final String CLUSTER_MEMBER_NAME_PROP
| Method Detail |
|---|
void setName(String value)
throws PropertyVetoException
setName in interface NamedPropertyVetoException
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
message="{server.invalid.name}",
payload=Server.class)
String getName()
getName in interface Named@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*") String getConfigRef()
String
void setConfigRef(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change@Deprecated String getNodeAgentRef()
String
@Deprecated
void setNodeAgentRef(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change
void setNodeRef(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the changeString getNodeRef()
String@Min(value=1L) String getLbWeight()
String
void setLbWeight(String value)
throws PropertyVetoException
value - allowed object is
String
PropertyVetoException - if a listener vetoes the change
@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal system properties")
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 getReference()
getReference in interface ReferenceContainer@DuckTyped ResourceRef getResourceRef(String name)
@DuckTyped boolean isResourceRefExists(String refName)
@DuckTyped
void deleteResourceRef(String name)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
@DuckTyped
void createResourceRef(String enabled,
String refName)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure@DuckTyped ApplicationRef getApplicationRef(String appName)
@DuckTyped Cluster getCluster()
@DuckTyped boolean isCluster()
isCluster in interface ReferenceContainer@DuckTyped boolean isServer()
isServer in interface ReferenceContainer@DuckTyped boolean isDas()
isDas in interface ReferenceContainer@DuckTyped boolean isClusteredDas()
@DuckTyped boolean isInstance()
isInstance in interface ReferenceContainer@DuckTyped String getAdminHost()
@DuckTyped int getAdminPort()
@DuckTyped String getClusterMemberName()
@DuckTyped Config getConfig()
@DuckTyped boolean isRunning()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||