Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.configuration
Interface BasicDeploymentMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, TargetInfoMBean, WebLogicMBean
All Known Subinterfaces:
AppDeploymentMBean, CoherenceClusterSystemResourceMBean, CustomResourceMBean, JDBCSystemResourceMBean, JMSInteropModuleMBean, JMSSystemResourceMBean, LibraryMBean, SystemResourceMBean, WLDFSystemResourceMBean

public interface BasicDeploymentMBean
extends TargetInfoMBean

This bean represents a file or archive that is deployed to a set of targets in the domain.


Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 SubDeploymentMBean createSubDeployment(String name)
          Create a new subdeployment
 void destroySubDeployment(SubDeploymentMBean subDeployment)
          Remove subDeployment
 int getDeploymentOrder()
          An integer value that indicates when this unit is deployed, relative to other deployable units on a server, during startup.
 String getDeploymentPrincipalName()
          A string value that indicates the principal that should be used when deploying the file or archive during startup and shutdown.
 String getSourcePath()
          The path to the source of the deployment unit on admin server.
 SubDeploymentMBean[] getSubDeployments()
          Targeting for subcomponents that differs from targeting for the component.
 SubDeploymentMBean lookupSubDeployment(String name)
           
 void setDeploymentOrder(int relativeOrder)
           
 void setDeploymentPrincipalName(String principalName)
           
 void setSourcePath(String path)
          Deprecated. 9.0.0.0 There is no replacement for this method.
 
Methods inherited from interface weblogic.management.configuration.TargetInfoMBean
addTarget, getCompatibilityName, getName, getTargets, removeTarget, setCompatibilityName, setModuleType, setName, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, 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

getSourcePath

String getSourcePath()
The path to the source of the deployment unit on admin server.

Returns:
path

setSourcePath

void setSourcePath(String path)
Deprecated. 9.0.0.0 There is no replacement for this method.


getSubDeployments

SubDeploymentMBean[] getSubDeployments()
Targeting for subcomponents that differs from targeting for the component.

Returns:
list of subdeployments

createSubDeployment

SubDeploymentMBean createSubDeployment(String name)
Create a new subdeployment

Parameters:
name -
Returns:
New subdeployment

lookupSubDeployment

SubDeploymentMBean lookupSubDeployment(String name)

destroySubDeployment

void destroySubDeployment(SubDeploymentMBean subDeployment)
Remove subDeployment

Parameters:
subDeployment -

getDeploymentOrder

int getDeploymentOrder()

An integer value that indicates when this unit is deployed, relative to other deployable units on a server, during startup.

Units with lower values are deployed before those with higher values.

Default Value:
100

setDeploymentOrder

void setDeploymentOrder(int relativeOrder)
See Also:
BasicDeploymentMBean.getDeploymentOrder()

getDeploymentPrincipalName

String getDeploymentPrincipalName()

A string value that indicates the principal that should be used when deploying the file or archive during startup and shutdown. This principal will be used to set the current subject when calling out into application code for interfaces such as ApplicationLifecycleListener. If no principal name is specified, then the anonymous principal will be used.


setDeploymentPrincipalName

void setDeploymentPrincipalName(String principalName)
See Also:
BasicDeploymentMBean.getDeploymentPrincipalName()

Copyright 1996, 2013, 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.1.2)

Part Number E27170-02