Oracle Fusion Middleware
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02

weblogic.deploy.api.model
Interface WebLogicDDBeanRoot

All Superinterfaces:
PlanConstants, WebLogicDDBean

public interface WebLogicDDBeanRoot
extends WebLogicDDBean, PlanConstants


Field Summary
 
Fields inherited from interface weblogic.deploy.api.shared.PlanConstants
ANY, CHANGABLE, CONFIGURABLE, DECLARATION, DEPENDENCY, DYNAMIC
 
Method Summary
 void export(DescriptorBean bean, String[] props)
          Create new plan using variables for properties in descriptor beans.
 void export(int type)
          Create new plan using variables for properties in this descriptor.
 DescriptorBean getDescriptorBean()
          Returns the typed descriptor bean tree for this descriptor
 
Methods inherited from interface weblogic.deploy.api.model.WebLogicDDBean
addXpathListener, isModified, removeXpathListener
 

Method Detail

getDescriptorBean

DescriptorBean getDescriptorBean()
                                 throws IOException
Returns the typed descriptor bean tree for this descriptor

Throws:
IOException - if parsing errors occur

export

void export(int type)
            throws IllegalArgumentException
Create new plan using variables for properties in this descriptor. Exporting a plan involves ensuring that a subset of descriptor properties have variable assignments (value overrides) and that the override value is unspecified. Export does not save the new plan. ANY means that all properties are included.

Parameters:
type - is one of PlanConstants.DEPENDENCY, PlanConstants.DECLARATION, PlanConstants.CONFIGURABLE, PlanConstants.CHANGABLE or PlanConstants.DYNAMIC PlanConstants.ANY
Throws:
IllegalArgumentException

export

void export(DescriptorBean bean,
            String[] props)
            throws IllegalArgumentException
Create new plan using variables for properties in descriptor beans. Exporting a plan involves ensuring that a subset of descriptor properties have variable assignments (value overrides) and that the override value is unspecified. Export does not save the new plan.

Parameters:
bean - specifies the element containing properties to export
props - is list of property names in the bean to export
Throws:
IllegalArgumentException

Copyright 1996, 2011, 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
Oracle WebLogic Server API Reference
12c Release 1 (12.1.1)

Part Number E24391-02