Interface DeploymentGroup
-
- All Superinterfaces:
ConfigBeanProxy,Named,jakarta.validation.Payload,PropertyBag,RefContainer
public interface DeploymentGroup extends Named, jakarta.validation.Payload, RefContainer, PropertyBag
- Author:
- Steve Millidge (Payara Foundation)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDeploymentGroup.Duck
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateResourceRef(String enabled, String refName)voiddeleteResourceRef(String refName)ApplicationRefgetApplicationRef(String appName)List<DGServerRef>getDGServerRef()Gets the value of the serverRef property.DGServerRefgetDGServerRefByRef(String ref)List<Server>getInstances()@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{dg.invalid.name}",payload=DeploymentGroup.class) StringgetName()Name of the configured objectList<Property>getProperty()Properties as perPropertyBagResourceRefgetResourceRef(String refName)booleanisResourceRefExists(String refName)voidsetName(String value)Sets the deployment group name-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Methods inherited from interface com.sun.enterprise.config.serverbeans.RefContainer
getApplicationRef, getResourceRef
-
-
-
-
Method Detail
-
setName
void setName(String value) throws PropertyVetoException
Sets the deployment group name- Specified by:
setNamein interfaceNamed- Parameters:
value- cluster name- Throws:
PropertyVetoException- if a listener vetoes the change
-
getName
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*", message="{dg.invalid.name}", payload=DeploymentGroup.class) @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",message="{dg.invalid.name}",payload=DeploymentGroup.class) String getName()Description copied from interface:NamedName of the configured object
-
getDGServerRef
List<DGServerRef> getDGServerRef()
Gets the value of the serverRef property. List of servers in the cluster- Returns:
- list of configured
ServerRef
-
getInstances
@DuckTyped List<Server> getInstances()
-
getDGServerRefByRef
@DuckTyped DGServerRef getDGServerRefByRef(String ref)
-
getApplicationRef
@DuckTyped ApplicationRef getApplicationRef(String appName)
-
getResourceRef
@DuckTyped ResourceRef getResourceRef(String refName)
-
isResourceRefExists
@DuckTyped boolean isResourceRefExists(String refName)
-
createResourceRef
@DuckTyped void createResourceRef(String enabled, String refName) throws TransactionFailure
- Throws:
TransactionFailure
-
deleteResourceRef
@DuckTyped void deleteResourceRef(String refName) throws TransactionFailure
- Throws:
TransactionFailure
-
getProperty
@PropertiesDesc(props={}) List<Property> getProperty()
Properties as perPropertyBag- Specified by:
getPropertyin interfacePropertyBag- Returns:
- the list of properties
-
-