|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualTargetMBean
This bean represents a target for a resource group in a partition. It defines access point to resources, i.e. hostname, port, partition uri path. Moreover, it provide configurations for each protocol, for example, http, t3, ssl, iiop etc.
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract int |
getExplicitPort() Get the explicit port for this VirtualTarget. |
abstract String[] |
getHostNames() The list of host names for which this virtual target serves requests. |
abstract String |
getName() The user-specified name of this MBean instance. |
abstract String |
getPartitionChannel() The channel name to be used as a reference for a creating partition specific channel. |
abstract int |
getPortOffset() The port offset for this VirtualTarget. |
abstract TargetMBean[] |
getTargets() You must select a target on which an MBean will be deployed from this list of the targets in the current domain on which this item can be deployed. |
abstract String |
getUriPrefix() The URI prefix for this VirtualTarget. |
abstract WebServerMBean |
getWebServer() The WebServer representing the virtual web server for this VirtualTarget. |
abstract void |
setExplicitPort(int explicitPort) Set the explicit port for the partition. |
abstract void |
setHostNames(String[] names) Sets the value of the host name attribute. |
abstract void |
setPartitionChannel(String partitionChannel) The channel name to be used as a reference for creating a partition specific channel by applying the port-offset or explicit-port to it. |
abstract void |
setPortOffset(int portOffset) Set the port offset for the partition. |
abstract void |
setUriPrefix(String uriPrefix) Set the URI prefix for the partition. |
Methods inherited from interface weblogic.management.configuration.DeploymentMBean |
---|
addTarget, getDeploymentOrder, removeTarget, setDeploymentOrder, setTargets |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
String getName()
The user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's javax.management.ObjectName
:
Name=user-specified-name
getName
in interface ConfigurationMBean
getName
in interface WebLogicMBean
String[] getHostNames()
The list of host names for which this virtual target serves requests.
void setHostNames(String[] names) throws InvalidAttributeValueException
Sets the value of the host name attribute.
names
- The new hostName valueInvalidAttributeValueException
String getUriPrefix()
The URI prefix for this VirtualTarget.
void setUriPrefix(String uriPrefix) throws InvalidAttributeValueException
Set the URI prefix for the partition. The URI prefix must start with "/", otherwise, InvalidAttributeValueException will be thrown.
uriPrefix
- the uri prefix.InvalidAttributeValueException
WebServerMBean getWebServer()
The WebServer representing the virtual web server for this VirtualTarget.
int getPortOffset()
The port offset for this VirtualTarget. If set to the minimum value, the port offset is not set.
VirtualTargetMBean.setPortOffset(int)
void setPortOffset(int portOffset) throws InvalidAttributeValueException
Set the port offset for the partition. You either set port-offset or configure explicit-port otherwise InvalidAttributeValueException will be thrown. Also, after adding port-offset to port defined in partition reference channel, resulting port should be within the range 1
and 65535
otherwise RuntimeException will be thrown.
portOffset
- the port offset added to port defined in partition channel. 0 means port offset is disabled.InvalidAttributeValueException
VirtualTargetMBean.setExplicitPort(int)
int getExplicitPort()
Get the explicit port for this VirtualTarget.
VirtualTargetMBean.setExplicitPort(int)
void setExplicitPort(int explicitPort) throws InvalidAttributeValueException
Set the explicit port for the partition. You either set port-offset or explicit-port otherwise InvalidAttributeValueException will be thrown.
explicitPort
- the explicit port. 0 means explicit port is disabled.InvalidAttributeValueException
VirtualTargetMBean.setPortOffset(int)
String getPartitionChannel()
The channel name to be used as a reference for a creating partition specific channel.
VirtualTargetMBean.setPartitionChannel(String)
void setPartitionChannel(String partitionChannel)
The channel name to be used as a reference for creating a partition specific channel by applying the port-offset or explicit-port to it. If none is set then the default channel will be used as the base.
In order for this feature to work, the named channel must exist on all targets and must be configured to use the same protocol. It is valid for the selected channel to be configured to use a secure protocol.
partitionChannel
- channel name to be used as reference for creating a partition specific channel.VirtualTargetMBean.setPortOffset(int)
, VirtualTargetMBean.setExplicitPort(int)
TargetMBean[] getTargets()
You must select a target on which an MBean will be deployed from this list of the targets in the current domain on which this item can be deployed. Targets must be either servers or clusters. The deployment will only occur once if deployments overlap.
getTargets
in interface DeploymentMBean
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |