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

Part Number E41849-02

weblogic.management.configuration
Interface ClassDeploymentMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
All Known Subinterfaces:
ShutdownClassMBean, StartupClassMBean

public interface ClassDeploymentMBean
extends DeploymentMBean

Temporary MBean for startup and shutdown classes. In the near future these will be turned into components.


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
 
Method Summary
 String getArguments()
          Arguments that a server uses to initialize a class.
 String getClassName()
          The fully qualified name of a class to load and run.
 void setArguments(String arguments)
          Sets the value of the Arguments attribute.
 void setClassName(String className)
          Sets the value of the className attribute.
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, 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

getClassName

String getClassName()

The fully qualified name of a class to load and run. The class must be on the server's classpath.

For example, mycompany.mypackage.myclass

Returns:
The className value

setClassName

void setClassName(String className)
                  throws InvalidAttributeValueException

Sets the value of the className attribute.

Parameters:
className - The new className value
Throws:
InvalidAttributeValueException
See Also:
ClassDeploymentMBean.getClassName()
This method can NOT set a null value.

getArguments

String getArguments()

Arguments that a server uses to initialize a class.

Separate multiple arguments with a comma. For example:
first=MyFirstName,last=MyLastName

Returns:
The arguments value

setArguments

void setArguments(String arguments)
                  throws InvalidAttributeValueException

Sets the value of the Arguments attribute.

Parameters:
arguments - The new arguments value
Throws:
InvalidAttributeValueException
See Also:
ClassDeploymentMBean.getArguments()

Copyright 1996, 2014, 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.3)

Part Number E41849-02