com.xebialabs.deployit.plugin.wls.container
Class Server

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
          extended by com.xebialabs.deployit.plugin.wls.container.Server
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Container, com.xebialabs.deployit.plugin.api.udm.Taggable, com.xebialabs.deployit.plugin.overthere.HostContainer, com.xebialabs.deployit.plugin.python.PythonManagedContainer, JmsTarget, WlsContainer, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(description="WebLogic Server that runs in its own Java Virtual Machine (JVM) and has its own configuration")
public class Server
extends com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
implements WlsContainer, JmsTarget

A WLS server (Managed or admin) in a WLS domain.

See Also:
Cluster, Domain, Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,java.lang.Object> context
           
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
TAGS_FIELD
 
Constructor Summary
Server()
           
 
Method Summary
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> args)
           
 Cluster getClusterIfAny()
          find out the cluster to which this server belongs
 Domain getDomain()
           
 com.xebialabs.deployit.plugin.overthere.Host getHost()
           
 java.util.Set<com.xebialabs.deployit.plugin.overthere.Host> getHosts()
           
 com.xebialabs.deployit.plugin.python.PythonManagingContainer getManagingContainer()
           
 java.lang.String getObjectName()
           
 int getPort()
           
 java.util.Set<Server> getServers()
           
 java.lang.String getStartCommand()
           
 int getStartOrder()
           
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> getStartSteps(int order)
           
 java.lang.String getStopCommand()
           
 int getStopOrder()
           
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> getStopSteps(int order)
           
 void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)
           
 void setDomain(Domain domain)
           
 void setHost(com.xebialabs.deployit.plugin.overthere.Host host)
           
 void setPort(int port)
           
 void setStartCommand(java.lang.String startCommand)
           
 void setStopCommand(java.lang.String stopCommand)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseContainer
getTags, setTags
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.Taggable
getTags, setTags
 

Field Detail

context

protected final java.util.Map<java.lang.String,java.lang.Object> context
Constructor Detail

Server

public Server()
Method Detail

getObjectName

public java.lang.String getObjectName()
Specified by:
getObjectName in interface JmsTarget
Specified by:
getObjectName in interface WlsContainer

inspect

public void inspect(com.xebialabs.deployit.plugin.api.inspection.InspectionContext ctx)

getDomain

public Domain getDomain()
Specified by:
getDomain in interface JmsTarget
Specified by:
getDomain in interface WlsContainer

getHosts

public java.util.Set<com.xebialabs.deployit.plugin.overthere.Host> getHosts()
Specified by:
getHosts in interface WlsContainer

getClusterIfAny

public Cluster getClusterIfAny()
find out the cluster to which this server belongs

Returns:
the Cluster to which the server belongs or null if it doesn't belong to any cluster

getServers

public java.util.Set<Server> getServers()
Specified by:
getServers in interface WlsContainer

setDomain

public void setDomain(Domain domain)

getHost

public com.xebialabs.deployit.plugin.overthere.Host getHost()
Specified by:
getHost in interface com.xebialabs.deployit.plugin.overthere.HostContainer

setHost

public void setHost(com.xebialabs.deployit.plugin.overthere.Host host)

getPort

public int getPort()

setPort

public void setPort(int port)

getStartCommand

public java.lang.String getStartCommand()

setStartCommand

public void setStartCommand(java.lang.String startCommand)

getStopCommand

public java.lang.String getStopCommand()

setStopCommand

public void setStopCommand(java.lang.String stopCommand)

getManagingContainer

public com.xebialabs.deployit.plugin.python.PythonManagingContainer getManagingContainer()
Specified by:
getManagingContainer in interface com.xebialabs.deployit.plugin.python.PythonManagedContainer

getStartOrder

public int getStartOrder()
Specified by:
getStartOrder in interface WlsContainer

getStopOrder

public int getStopOrder()
Specified by:
getStopOrder in interface WlsContainer

controlTaskDispatch

public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> controlTaskDispatch(java.lang.String name,
                                                                                       java.util.Map<java.lang.String,java.lang.String> args)

getStartSteps

public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> getStartSteps(int order)
Specified by:
getStartSteps in interface WlsContainer

getStopSteps

public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> getStopSteps(int order)
Specified by:
getStopSteps in interface WlsContainer