|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.management.deploy.ComponentTarget
Stores the pair of target name of a component and the actual weblogic server where this component is activated. For eg. if the component target is a cluster(CL1) of two Managed Servers (MS1 and MS2), then when the component gets activated on MS1, a ComponentTarget object is created with entry CL1 (ComponentTarget) and MS1(PhysicalTarget) on MS1 and stored in the activatedComponentTarget attribute of the Component Admin MBean. Similarly when the component gets actviated on MS2, a new ComponentTarget(CL1,MS2) will get created on MS2 and stored in Admin ComponentMBean. A VirtualHost can be targetted to one or more clusters and servers in the domain. So when such a component gets activated, then a ComponentTarget object is created which stores the VirtualHostName and the cluster+server name or virtual hostname and server name pair and added to the Admin ComponentMBean. This info. is used to figure out the actual deployment status of a component and also to deduce its availability based on the deployment status on different weblogic servers in the domain.
Field Summary | |
static int |
COMPONENT_TARGET_CLUSTER
|
static int |
COMPONENT_TARGET_SERVER
|
static int |
COMPONENT_TARGET_VIRTUALHOST
|
Constructor Summary | |
ComponentTarget(java.lang.String componentTarget,
java.lang.String physicalTarget,
int targetType)
|
|
ComponentTarget(java.lang.String componentTarget,
java.lang.String clusterTarget,
java.lang.String physicalTarget,
int targetType)
|
Method Summary | |
boolean |
equals(java.lang.Object target)
|
java.lang.String |
getClusterTarget()
|
java.lang.String |
getComponentTarget()
|
java.lang.String |
getPhysicalTarget()
|
int |
getTargetType()
|
int |
hashCode()
|
boolean |
isVirtualHostClustered()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int COMPONENT_TARGET_SERVER
public static final int COMPONENT_TARGET_CLUSTER
public static final int COMPONENT_TARGET_VIRTUALHOST
Constructor Detail |
public ComponentTarget(java.lang.String componentTarget, java.lang.String physicalTarget, int targetType)
public ComponentTarget(java.lang.String componentTarget, java.lang.String clusterTarget, java.lang.String physicalTarget, int targetType)
Method Detail |
public java.lang.String getComponentTarget()
public java.lang.String getClusterTarget()
public java.lang.String getPhysicalTarget()
public boolean isVirtualHostClustered()
public int getTargetType()
public boolean equals(java.lang.Object target)
public java.lang.String toString()
public int hashCode()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |