|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase
com.adventnet.adaptors.corba.RemoteMBeanServerImpl
public class RemoteMBeanServerImpl
#pragma prefix "server"
interface CorbaFactory {
::server::byteCodeObject getAdaptorObjectName();
string getAdaptorVersion();
void addNotificationListener(
in ::server::byteCodeObject name,
in ::server::NotificationListener listener,
in ::server::NotificationFilter filter,
in ::server::byteCodeObject handback
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException,
::server::CorbaRuntimeOperationsException
);
void addNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener,
in ::server::NotificationFilter filter,
in ::server::byteCodeObject handback
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
::server::CorbaRuntimeOperationsException
);
::server::byteCodeObject createMBean(
in string className,
in ::server::byteCodeObject name
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
::server::byteCodeObject createMBean2(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
::server::byteCodeObject createMBean3(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject loaderName
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
::server::byteCodeObject createMBean4(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject loaderName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
::server::byteCodeObject getAttribute(
in ::server::byteCodeObject name,
in string attr
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaMBeanException,
::server::CorbaAttributeNotFoundException,
::server::CorbaDeserializeException
);
::server::byteCodeObject getAttributes(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attrs
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
string getDefaultDomain();
::server::byteCodeObject getMBeanCount();
::server::byteCodeObject getMBeanInfo(
in ::server::byteCodeObject name
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaIntrospectionException,
::server::CorbaDeserializeException
);
::server::byteCodeObject getObjectInstance(
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
::server::byteCodeObject instantiate(
in string className
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException
);
::server::byteCodeObject instantiate2(
in string className,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException
);
::server::byteCodeObject instantiate3(
in string className,
in ::server::byteCodeObject loaderName
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException
);
::server::byteCodeObject instantiate4(
in string className,
in ::server::byteCodeObject loaderName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException
);
::server::byteCodeObject invoke(
in ::server::byteCodeObject name,
in string actionName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
boolean isRegistered(
in ::server::byteCodeObject name
)
raises(
::server::CorbaDeserializeException
);
boolean isInstanceOf(
in ::server::byteCodeObject name,
in string className
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
::server::byteCodeObject queryMBeans(
in ::server::byteCodeObject name,
in ::server::byteCodeObject query
)
raises(
::server::CorbaDeserializeException
);
::server::byteCodeObject queryNames(
in ::server::byteCodeObject name,
in ::server::byteCodeObject query
)
raises(
::server::CorbaDeserializeException
);
::server::byteCodeObject registerMBean(
in string className,
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
::server::byteCodeObject registerAsModelMBean(
in ::server::byteCodeObject className,
in string xmlFileName,
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
void removeNotificationListener(
in ::server::byteCodeObject name,
in ::server::NotificationListener listener
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaListenerNotFoundException,
::server::CorbaRuntimeOperationsException,
::server::CorbaDeserializeException
);
void removeNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaListenerNotFoundException,
::server::CorbaRuntimeOperationsException,
::server::CorbaDeserializeException
);
void setAttribute(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attr
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaAttributeNotFoundException,
::server::CorbaInvalidAttributeValueException,
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaDeserializeException
);
::server::byteCodeObject setAttributes(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attrs
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaReflectionException,
::server::CorbaDeserializeException
);
void unregisterMBean(
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaMBeanRegistrationException,
::server::CorbaDeserializeException
);
};
This class acts as the factory for the Corba Adaptor clients.
| Field Summary | |
|---|---|
(package private) java.lang.String |
implName
|
(package private) javax.management.MBeanServer |
server
|
| Constructor Summary | |
|---|---|
RemoteMBeanServerImpl(javax.management.MBeanServer server)
The constructor which takes MBeanServer as a parameter. |
|
RemoteMBeanServerImpl(java.lang.String implName)
The constructor which takes the implName of this corba object as a parameter. |
|
RemoteMBeanServerImpl(java.lang.String implName,
javax.management.MBeanServer server)
The constructor which takes the both implName of this corba object and MBeanServer reference as parameters. |
|
| Method Summary | |
|---|---|
void |
addNotificationListener(byte[] name,
com.adventnet.adaptors.corba.server.NotificationListener listener,
com.adventnet.adaptors.corba.server.NotificationFilter filter,
byte[] handback)
Operation: ::server::CorbaFactory::addNotificationListener. |
void |
addNotificationListener2(byte[] name,
byte[] listener,
com.adventnet.adaptors.corba.server.NotificationFilter filter,
byte[] handback)
Operation: ::server::CorbaFactory::addNotificationListener2. |
void |
addUser(com.adventnet.agent.security.UserContext userContext)
Adds the users specified in the UserContext to the Authentication List of the Adaptor |
void |
authenticate(byte[] usercontext)
Authenticates the users specified in the UserContext. |
byte[] |
createMBean(java.lang.String className,
byte[] name)
Operation: ::server::CorbaFactory::createMBean. |
byte[] |
createMBean2(java.lang.String className,
byte[] name,
byte[] params,
byte[] signature)
Operation: ::server::CorbaFactory::createMBean2. |
byte[] |
createMBean3(java.lang.String className,
byte[] name,
byte[] loaderName)
Operation: ::server::CorbaFactory::createMBean3. |
byte[] |
createMBean4(java.lang.String className,
byte[] name,
byte[] loaderName,
byte[] params,
byte[] signature)
Operation: ::server::CorbaFactory::createMBean4. |
(package private) static java.lang.Object |
deSerialize(byte[] data)
|
void |
enableAuthentication(boolean authenticate)
Enables Authentication for the RMI Adaptor |
void |
enableAuthorisation(boolean authorise)
Enables Authorisation for the Corba Adaptor |
javax.management.MBeanInfo |
getAccessViewMBeanInfo(javax.management.MBeanInfo mbeanInfo,
javax.management.ObjectName name)
|
byte[] |
getAdaptorObjectName()
Operation: ::server::CorbaFactory::getAdaptorObjectName. |
java.lang.String |
getAdaptorVersion()
Operation: ::server::CorbaFactory::getAdaptorVersion. |
byte[] |
getAttribute(byte[] name,
java.lang.String attr)
Operation: ::server::CorbaFactory::getAttribute. |
byte[] |
getAttributes(byte[] name,
byte[] attrs)
Operation: ::server::CorbaFactory::getAttributes. |
java.lang.String |
getDefaultDomain()
Operation: ::server::CorbaFactory::getDefaultDomain. |
java.lang.String |
getImplName()
Returns the implementation name of this corba Object with which it gets binded with the corba naming service. |
byte[] |
getMBeanCount()
Operation: ::server::CorbaFactory::getMBeanCount. |
byte[] |
getMBeanInfo(byte[] name)
Operation: ::server::CorbaFactory::getMBeanInfo. |
byte[] |
getObjectInstance(byte[] name)
Operation: ::server::CorbaFactory::getObjectInstance. |
java.lang.String |
getPersistentName()
Returns the name of the serialized file in which the User Context details are stored |
java.util.Set |
getViewAccessMBeans(java.util.Set names)
|
java.util.Set |
getViewAccessNames(java.util.Set names)
|
byte[] |
instantiate(java.lang.String className)
Operation: ::server::CorbaFactory::instantiate. |
byte[] |
instantiate2(java.lang.String className,
byte[] params,
byte[] signature)
Operation: ::server::CorbaFactory::instantiate2. |
byte[] |
instantiate3(java.lang.String className,
byte[] loaderName)
Operation: ::server::CorbaFactory::instantiate3. |
byte[] |
instantiate4(java.lang.String className,
byte[] loaderName,
byte[] params,
byte[] signature)
Operation: ::server::CorbaFactory::instantiate4. |
byte[] |
invoke(byte[] name,
java.lang.String actionName,
byte[] params,
byte[] signature)
Operation: ::server::CorbaFactory::invoke. |
boolean |
isAuthenticationEnabled()
Determines whether authentication is enabled or not |
boolean |
isInstanceOf(byte[] name,
java.lang.String className)
Operation: ::server::CorbaFactory::isRegistered. |
boolean |
isRegistered(byte[] name)
Operation: ::server::CorbaFactory::isRegistered. |
byte[] |
queryMBeans(byte[] name,
byte[] query)
Operation: ::server::CorbaFactory::queryMBeans. |
byte[] |
queryNames(byte[] name,
byte[] query)
Operation: ::server::CorbaFactory::queryNames. |
byte[] |
registerAsModelMBean(byte[] mbean,
java.lang.String xmlFile,
byte[] name)
Operation: ::server::CorbaFactory::registerAsModelMBean. |
byte[] |
registerMBean(java.lang.String className,
byte[] name)
Operation: ::server::CorbaFactory::registerMBean. |
void |
removeNotificationListener(byte[] name,
com.adventnet.adaptors.corba.server.NotificationListener listener)
Operation: ::server::CorbaFactory::removeNotificationListener. |
void |
removeNotificationListener2(byte[] name,
byte[] listener)
Operation: ::server::CorbaFactory::removeNotificationListener2. |
void |
removeUser(com.adventnet.agent.security.UserContext userContext)
Removes the users specified in the UserContext from the Authentication List of the Adaptor |
(package private) static byte[] |
serialize(java.lang.Object obj)
|
(package private) void |
setAdaptorObjectName(javax.management.ObjectName name)
|
(package private) void |
setAdaptorVersion(java.lang.String version)
|
void |
setAttribute(byte[] name,
byte[] attr)
Operation: ::server::CorbaFactory::setAttribute. |
byte[] |
setAttributes(byte[] name,
byte[] attrs)
Operation: ::server::CorbaFactory::setAttributes. |
void |
setPersistentName(java.lang.String name)
Sets the name of the Serialized file in which the UserContext details are stored. |
void |
unregisterMBean(byte[] name)
Operation: ::server::CorbaFactory::unregisterMBean. |
| Methods inherited from class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase |
|---|
_ids, _invoke |
| Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
|---|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omg.CORBA.Object |
|---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Field Detail |
|---|
java.lang.String implName
javax.management.MBeanServer server
| Constructor Detail |
|---|
public RemoteMBeanServerImpl(java.lang.String implName)
The - implName of the corba object.public RemoteMBeanServerImpl(javax.management.MBeanServer server)
server - The MBeanServer object.
public RemoteMBeanServerImpl(java.lang.String implName,
javax.management.MBeanServer server)
The - implName of the corba object.server - The MBeanServer object.| Method Detail |
|---|
public void setPersistentName(java.lang.String name)
the - name of the serialized filepublic java.lang.String getPersistentName()
public java.lang.String getImplName()
void setAdaptorObjectName(javax.management.ObjectName name)
void setAdaptorVersion(java.lang.String version)
public byte[] getAttribute(byte[] name,
java.lang.String attr)
throws com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaAttributeNotFoundException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::getAttribute.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getAttribute(
in ::server::byteCodeObject name,
in string attr
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaMBeanException,
::server::CorbaAttributeNotFoundException,
::server::CorbaDeserializeException
);
Gets the value of a specific attribute of a named MBean through this service(adaptor). The MBean is identified by its object name.
getAttribute in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetAttribute in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean from which the
attribute is to be retrieved.attribute - A String specifying the name of the
attribute to be retrieved.
com.adventnet.adaptors.corba.server.CorbaAttributeNotFoundException - The
specified attribute is not accessible in the MBean.
com.adventnet.adaptors.corba.server.CorbaMBeanException - Wraps an exception
thrown by the MBean's getter.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps an
java.lang.Exception thrown while trying to invoke the setter.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object name in parameter
is null or the attribute in parameter is null.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.static byte[] serialize(java.lang.Object obj)
static java.lang.Object deSerialize(byte[] data)
public byte[] getAdaptorObjectName()
Operation: ::server::CorbaFactory::getAdaptorObjectName.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getAdaptorObjectName();
Gets the ObjectName of the Corba Adaptor as the byte array.
getAdaptorObjectName in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetAdaptorObjectName in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasepublic java.lang.String getAdaptorVersion()
Operation: ::server::CorbaFactory::getAdaptorVersion.
#pragma prefix "server/CorbaFactory"
string getAdaptorVersion();
Gets the version of the Corba Adaptor.
getAdaptorVersion in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetAdaptorVersion in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase
public void addNotificationListener(byte[] name,
com.adventnet.adaptors.corba.server.NotificationListener listener,
com.adventnet.adaptors.corba.server.NotificationFilter filter,
byte[] handback)
throws com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::addNotificationListener.
#pragma prefix "server/CorbaFactory"
void addNotificationListener(
in ::server::byteCodeObject name,
in ::server::NotificationListener listener,
in ::server::NotificationFilter filter,
in ::server::byteCodeObject handback
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Adds the corba NotificationListener to the MBeanServer as JMX NotificationListener with the specified mbean.
addNotificationListener in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsaddNotificationListener in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - the byte array version of the ObjectName of the mbean to which the
specified corba notificationlistener is to registered.listener - the corba notificationlistenerfilter - the corba notificationfilterhandback - the byte array version of the handback object.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException
public void removeNotificationListener(byte[] name,
com.adventnet.adaptors.corba.server.NotificationListener listener)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaListenerNotFoundException,
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::removeNotificationListener.
#pragma prefix "server/CorbaFactory"
void removeNotificationListener(
in ::server::byteCodeObject name,
in ::server::NotificationListener listener
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaListenerNotFoundException,
::server::CorbaRuntimeOperationsException,
::server::CorbaDeserializeException
);
Removes the corba NotificationListener from the MBeanServer which was registeres as JMX NotificationListener with the specified mbean.
removeNotificationListener in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsremoveNotificationListener in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - the byte array version of the ObjectName of the mbean to which the
specified corba notificationlistener was registered.listener - the corba notificationlistener
com.adventnet.adaptors.corba.server.CorbaListenerNotFoundException - The specified
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException
public void addNotificationListener2(byte[] name,
byte[] listener,
com.adventnet.adaptors.corba.server.NotificationFilter filter,
byte[] handback)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::addNotificationListener2.
#pragma prefix "server/CorbaFactory"
void addNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener,
in ::server::NotificationFilter filter,
in ::server::byteCodeObject handback
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Adds the corba NotificationListener to the MBeanServer as JMX NotificationListener with the specified mbean.
addNotificationListener2 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsaddNotificationListener2 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - the byte array version of the ObjectName of the mbean to which the
specified corba notificationlistener is to registered.listener - the byte array version of the ObjectName of the JMX NotificationListenerfilter - the corba notificationfilterhandback - the byte array version of the handback object.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException
public byte[] createMBean(java.lang.String className,
byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::createMBean.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject createMBean(
in string className,
in ::server::byteCodeObject name
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
Instantiates and registers a MBean with the MBeanServer through this service(adaptor). The MBean server will use the DefaultLoaderRepository to load the class of the MBean. An object name is associated to the MBean. If the object name given is null, the MBean can automatically provide its own name by implementing the MBeanRegistration interface. The call returns a reference to the new instance and its object name.
createMBean in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationscreateMBean in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the MBean to be instantiated.name - The byte array version of object name of the MBean. May be null.
javax.management.ReflectionException - Wraps Wraps a
ClassNotFoundException or a java.lang.Exception that occured trying to
invoke the MBean's constructor.
javax.management.InstanceAlreadyExistsException - The MBean is
already under the control of the MBeanServer.
javax.management.MBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the MBean has
thrown an exception
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This class is not an
JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is
null, the ObjectName passed in parameter contains a pattern or no ObjectName
is specified for the MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaReflectionException
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException
public byte[] createMBean2(java.lang.String className,
byte[] name,
byte[] params,
byte[] signature)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::createMBean2.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject createMBean2(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbapliantMBeanException,
::server::CorbaDeserializeException
);
Instantiates and registers a MBean with the MBeanServer through this service(adaptor). The MBean server will use the DefaultLoaderRepository to load the class of the MBean. An object name is associated to the MBean. If the object name given is null, the MBean can automatically provide its own name by implementing the MBeanRegistration interface. The call returns a reference to the new instance and its object name.
createMBean2 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationscreateMBean2 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the MBean to be instantiated.name - The byte array version of object name of the MBean. May be null.params - byte array version of an array containing the parameters of the constructor to be
invoked.signature - byte array version of an array containing the signature of the constructor to be
invoked.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps Wraps a
ClassNotFoundException or a java.lang.Exception that occured trying to
invoke the MBean's constructor.
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException - The MBean is
already under the control of the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the MBean has
thrown an exception
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This class is not an
JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is
null, the ObjectName passed in parameter contains a pattern or no ObjectName
is specified for the MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public byte[] createMBean3(java.lang.String className,
byte[] name,
byte[] loaderName)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::createMBean3.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject createMBean3(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject loaderName
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Instantiates and registers a MBean with the MBeanServer through this service(adaptor). The class loader to be used is identified by its object name. An object name is associated to the MBean. If the object name of the loader is null, the system ClassLoader will be used.If the MBean's object name given is null, the MBean can automatically provide its own name by implementing the MBeanRegistration interface. The call returns a reference to the new instance and its object name.
createMBean3 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationscreateMBean3 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the MBean to be instantiated.name - The byte array version of object name of the MBean. May be null.loaderName - The byte array version of object name of the class loader to be used.
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException - The MBean is
already under the control of the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the MBean has
thrown an exception
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This class is not an
JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The specified class
loader is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is
null, the ObjectName passed in parameter contains a pattern or no ObjectName
is specified for the MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaReflectionException
public byte[] createMBean4(java.lang.String className,
byte[] name,
byte[] loaderName,
byte[] params,
byte[] signature)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::createMBean4.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject createMBean4(
in string className,
in ::server::byteCodeObject name,
in ::server::byteCodeObject loaderName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaMBeanException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Instantiates and registers a MBean with the MBeanServer through this service(adaptor). The class loader to be used is identified by its object name. An object name is associated to the MBean. If the object name of the loader is not specified, the system ClassLoader will be used.If the MBean object name given is null, the MBean can automatically provide its own name by implementing the MBeanRegistration interface. The call returns a reference to the new instance and its object name.
createMBean4 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationscreateMBean4 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the MBean to be instantiated.name - The byte array version of object name of the MBean. May be null.params - The byte array version of an array containing the parameters of the constructor to be
invoked.signature - The byte array version of an array containing the signature of the constructor to be
invoked.loaderName - The byte array version of object name of the class loader to be used.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps Wraps a
ClassNotFoundException or a java.lang.Exception that occured trying to
invoke the MBean's constructor.
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException - The MBean is
already under the control of the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the MBean has
thrown an exception
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This class is not an
JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is
null, the ObjectName passed in parameter contains a pattern or no ObjectName
is specified for the MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException
public byte[] getAttributes(byte[] name,
byte[] attrs)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::getAttributes.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getAttributes(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attrs
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Enables the values of several attributes of a named MBean through this service(adaptor). The MBean is identified by its object name.
getAttributes in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetAttributes in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The object name of the MBean from which the
attributes are to be retrieved.attributes - The byte array version of String[] which is the list of the attributes to be retrieved.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaReflectionException - An exception
occurred when trying to invoke the getAttributes method of a Dynamic MBean.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object name in parameter
is null or the attribute in parameter is null.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.public java.lang.String getDefaultDomain()
Operation: ::server::CorbaFactory::getDefaultDomain.
#pragma prefix "server/CorbaFactory"
string getDefaultDomain();
Returns the default domain used for naming the MBean. through this corba service(adaptor). The default domain name is used as the domain part in the ObjectName of MBeans if no domain is specified by the user.
getDefaultDomain in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetDefaultDomain in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasepublic byte[] getMBeanCount()
Operation: ::server::CorbaFactory::getMBeanCount.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getMBeanCount();
Returns the number of MBeans controlled by the MBeanServer through this service(adaptor).
getMBeanCount in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetMBeanCount in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase
public byte[] getMBeanInfo(byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaIntrospectionException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::getMBeanInfo.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getMBeanInfo(
in ::server::byteCodeObject name
)
raises(
::server::CorbaReflectionException,
::server::CorbaInstanceNotFoundException,
::server::CorbaIntrospectionException,
::server::CorbaDeserializeException
);
This method discovers the attributes and operations that an MBean exposes for management through this service(adaptor).When flatten is false, inherited attributes are not returned.
getMBeanInfo in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetMBeanInfo in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of name of the MBean to analyze
com.adventnet.adaptors.corba.server.CorbaIntrospectionException - An exception
occurs during introspection.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The specified
MBean is not found.
com.adventnet.adaptors.corba.server.CorbaReflectionException - An exception occurred
when trying to invoke the getMBeanInfo of a Dynamic MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public javax.management.MBeanInfo getAccessViewMBeanInfo(javax.management.MBeanInfo mbeanInfo,
javax.management.ObjectName name)
public byte[] getObjectInstance(byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::getObjectInstance.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject getObjectInstance(
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Gets the ObjectInstance for a given MBean registered with the MBean server through this service(adaptor).
getObjectInstance in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsgetObjectInstance in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The MBean specified
is not registered in the MBean server.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public byte[] instantiate(java.lang.String className)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException
Operation: ::server::CorbaFactory::instantiate.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject instantiate(
in string className
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException
);
Instantiates an object using the list of all class loaders registered in the MBean server (Default Loader Repository) through this service(adaptor). The object's class should have a public constructor. It returns a reference to the newly created object. The newly created object is not registered in the MBean server.
instantiate in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsinstantiate in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the object to be instantiated.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps a
ClassNotFoundException or the java.lang.Exception that occured trying
to invoke the object's constructor.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the object
has thrown an exception
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is null.
public byte[] instantiate2(java.lang.String className,
byte[] params,
byte[] signature)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException
Operation: ::server::CorbaFactory::instantiate2.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject instantiate2(
in string className,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException
);
Instantiates an object using the list of all class loaders registered in the MBean server (Default Loader Repository) through this service(adaptor). The object's class should have a public constructor. The call returns a reference to the newly created object. The newly created object is not registered in the MBean server.
instantiate2 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsinstantiate2 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the object to be instantiated.params - The byte array version of an array containing the parameters of the constructor to be invoked.signature - The byte array version of an array containing the signature of the constructor to be invoked.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps a
ClassNotFoundException or the java.lang.Exception that occured trying
to invoke the object's constructor.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the object
has thrown an exception
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is null.
public byte[] instantiate3(java.lang.String className,
byte[] loaderName)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException
Operation: ::server::CorbaFactory::instantiate3.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject instantiate3(
in string className,
in ::server::byteCodeObject loaderName
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException
);
Instantiates an object using the class Loader specified by its ObjectName through this service(adaptor). If the loader name is null, the ClassLoader that loaded the MBean Server will be used. The object's class should have a public constructor. It returns a reference to the newly created object. The newly created object is not registered in the MBean server.
instantiate3 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsinstantiate3 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the object to be instantiated.loaderName - The byte array version of object name of the class loader to be used.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps a
ClassNotFoundException or the java.lang.Exception that occured trying
to invoke the object's constructor.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the object
has thrown an exception
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The specified class
loader is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is null.
public byte[] instantiate4(java.lang.String className,
byte[] loaderName,
byte[] params,
byte[] signature)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException
Operation: ::server::CorbaFactory::instantiate4.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject instantiate4(
in string className,
in ::server::byteCodeObject loaderName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException
);
Instantiates an object through this service(adaptor). The class loader to be used is identified by its object name. If the object name of the loader is null, the ClassLoader that loaded the MBean server will be used. The object's class should have a public constructor. The call returns a reference to the newly created object. The newly created object is not registered in the MBean server.
instantiate4 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsinstantiate4 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the object to be instantiated.loaderName - The byte array version of object name of the class loader to be used.params - The byte array version of an array containing the parameters of the constructor to be invoked.signature - byte array version of an array containing the signature of the constructor to be invoked.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps a
ClassNotFoundException or the java.lang.Exception that occured trying
to invoke the object's constructor.
com.adventnet.adaptors.corba.server.CorbaMBeanException - The constructor of the object
has thrown an exception
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The specified class
loader is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The className passed in parameter is null.
public byte[] invoke(byte[] name,
java.lang.String actionName,
byte[] params,
byte[] signature)
throws com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::invoke.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject invoke(
in ::server::byteCodeObject name,
in string actionName,
in ::server::byteCodeObject params,
in ::server::byteCodeObject signature
)
raises(
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
Invokes an action on an MBean through this service(adaptor).
invoke in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsinvoke in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean on which
the method is to be invoked.actionName - The name of the action to be invoked.params - The byte array version of an array containing the parameters to be
set when the action is invokedsignature - The byte array version of an array containing the signature of
the action. The class objects will be loaded using the
same class loader as the one used for loading the MBean
on which the action was invoked.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanException - Wraps an exception
thrown by the MBean's invoked method.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps an
java.lang.Exception thrown while trying to invoke the method.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public boolean isRegistered(byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::isRegistered.
#pragma prefix "server/CorbaFactory"
boolean isRegistered(
in ::server::byteCodeObject name
)
raises(
::server::CorbaDeserializeException
);
Checks whether an MBean, identified by its object name, is already registered with the MBeanServer through this service(adaptor).
isRegistered in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsisRegistered in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean to be checked.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public boolean isInstanceOf(byte[] name,
java.lang.String className)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::isRegistered.
#pragma prefix "server/CorbaFactory"
boolean isRegistered(
in ::server::byteCodeObject name
)
raises(
::server::CorbaDeserializeException
);
Returns true if the MBean specified is an instance of the specified class, false otherwise.
isInstanceOf in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsisInstanceOf in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array of the object name of the MBean to be checked.className - The name of the class.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
MBean specified is not registered in the MBean server.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public byte[] queryMBeans(byte[] name,
byte[] query)
throws com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::queryMBeans.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject queryMBeans(
in ::server::byteCodeObject name,
in ::server::byteCodeObject query
)
raises(
::server::CorbaDeserializeException
);
Gets MBeans controlled by the MBeanServer through this service(adaptor). This method allows any of the following to be obtained: All MBeans, a set of MBeans specified by pattern matching on the ObjectName and/or a Query expression, a specific MBean. When the object name is null or empty, all objects are to be selected (and filtered if a query is specified). It returns the set of ObjectInstance objects (containing the ObjectName and the Java Class name) for the selected MBeans.
queryMBeans in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsqueryMBeans in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name pattern identifying the MBeans to be
retrieved. If null orempty all the MBeans registered will be retrieved.query - The byte array version of query expression to be applied for selecting MBeans.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.public java.util.Set getViewAccessMBeans(java.util.Set names)
public void authenticate(byte[] usercontext)
throws com.adventnet.adaptors.corba.server.CorbaAuthenticationException
authenticate in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsauthenticate in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseuserContext - contains the Users to be authenticated
com.adventnet.adaptors.corba.server.CorbaAuthenticationException - when Authentication for a User failspublic void addUser(com.adventnet.agent.security.UserContext userContext)
userContext - the UserContext which has to be addedpublic void removeUser(com.adventnet.agent.security.UserContext userContext)
userContext - the UserContext which has to be removedpublic void enableAuthentication(boolean authenticate)
authenticate - Enables Authentication if the value is truepublic void enableAuthorisation(boolean authorise)
authorise - Enables Authorisation if the value is truepublic boolean isAuthenticationEnabled()
isAuthenticationEnabled in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsisAuthenticationEnabled in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase
public byte[] queryNames(byte[] name,
byte[] query)
throws com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::queryNames.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject queryNames(
in ::server::byteCodeObject name,
in ::server::byteCodeObject query
)
raises(
::server::CorbaDeserializeException
);
Gets the names of MBeans controlled by the MBeanServer through this service(adaptor). This method enables any of the following to be obtained: The names of all MBeans, the names of a set of MBeans specified by pattern matching on the ObjectName and/or a Query expression, a specific MBean name(equivalent to testing whether an MBean is registered). When the object name is null or empty, all objects are to be selected (and filtered if a query is specified). It returns the set of ObjectNames for the MBeans selected.
queryNames in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsqueryNames in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name pattern identifying the MBean names
to be retrieved. If null or empty, the name of all registered
MBeans will be retrieved.query - The byte array version of query expression to be applied for selecting MBeans.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.public java.util.Set getViewAccessNames(java.util.Set names)
public byte[] registerMBean(java.lang.String className,
byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::registerMBean.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject registerMBean(
in string className,
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
Registers a pre-existing object as an MBean with the MBeanServer through this service(adaptor). If the object name given is null, the MBean may automatically provide its own name by implementing the MBeanRegistration interface. The call returns the MBean name.
registerMBean in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsregisterMBean in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the Java Bean to be registered as an MBean.name - The byte array version of object name of the MBean. May be null.
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException - The MBean
is already under the control of the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This object is
not an JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object passed in parameter is null
or no object name is specified.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public byte[] registerAsModelMBean(byte[] mbean,
java.lang.String xmlFile,
byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::registerAsModelMBean.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject registerAsModelMBean(
in ::server::byteCodeObject className,
in string xmlFileName,
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceAlreadyExistsException,
::server::CorbaMBeanRegistrationException,
::server::CorbaNotCompliantMBeanException,
::server::CorbaDeserializeException
);
Remote method call which registers the MBean. If the passed mbean object is String instance (i.e classname), then this mbean will be instantiated locally as modelmbean in the mbean server and registered. If not instance of java.lang.String class, then this object will be considered as remote modelmbean object. If the mbean object is java.lang.String instance, then the xmlFile means the path of the xml file name locally in the mbean server. If not then the String object of xmlFile will contain the complete xml file.
registerAsModelMBean in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsregisterAsModelMBean in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBaseclassName - The class name of the class which will be wrapped by
the ModelMBeanImpl and registered as an MBean.xmlFileName - The xml file name with which the ModelMBeanImpl of the class
specified in the parameter, will be initializedname - The byte array version of object name of the MBean. May be null.
com.adventnet.adaptors.corba.server.CorbaInstanceAlreadyExistsException - The MBean
is already under the control of the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The preRegister
(MBeanRegistration interface) method of the MBean has thrown an exception.
The MBean will not be registered.
com.adventnet.adaptors.corba.server.CorbaNotCompliantMBeanException - This object is
not an JMX compliant MBean
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object passed in parameter is null
or no object name is specified.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public void removeNotificationListener2(byte[] name,
byte[] listener)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaListenerNotFoundException,
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::removeNotificationListener2.
#pragma prefix "server/CorbaFactory"
void removeNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaListenerNotFoundException,
::server::CorbaRuntimeOperationsException, //Added by Ramkumar
::server::CorbaDeserializeException
);
Removes the corba NotificationListener from the MBeanServer which was registered as JMX NotificationListener with the specified mbean.
removeNotificationListener2 in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsremoveNotificationListener2 in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - the byte array version of the ObjectName of the mbean to which the
specified corba notificationlistener was registered.listener - the object name of the JMX NotificationListener
com.adventnet.adaptors.corba.server.CorbaListenerNotFoundException - The specified
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException
public void setAttribute(byte[] name,
byte[] attr)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaAttributeNotFoundException,
com.adventnet.adaptors.corba.server.CorbaInvalidAttributeValueException,
com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaMBeanException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::setAttribute.
#pragma prefix "server/CorbaFactory"
void setAttribute(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attr
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaAttributeNotFoundException,
::server::CorbaInvalidAttributeValueException,
::server::CorbaReflectionException,
::server::CorbaMBeanException,
::server::CorbaDeserializeException
);
Sets the value of a specific attribute of a named MBean through this service(adaptor). The MBean is identified by its object name.
setAttribute in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationssetAttribute in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of name of the MBean within which the
attribute is to be set.attribute - The byte array version of the Attribute which has the value to be set.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaAttributeNotFoundException - The
specified attribute is not accessible in the MBean.
com.adventnet.adaptors.corba.server.CorbaInvalidAttributeValueException - The
specified value for the attribute is not valid.
com.adventnet.adaptors.corba.server.CorbaMBeanException - Wraps an exception
thrown by the MBean's setter.
com.adventnet.adaptors.corba.server.CorbaReflectionException - Wraps an
java.lang.Exception thrown while trying to invoke the setter.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object name in parameter is null
or the attribute in parameter is null.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public byte[] setAttributes(byte[] name,
byte[] attrs)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaReflectionException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::setAttributes.
#pragma prefix "server/CorbaFactory"
::server::byteCodeObject setAttributes(
in ::server::byteCodeObject name,
in ::server::byteCodeObject attrs
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaReflectionException,
::server::CorbaDeserializeException
);
Sets the values of several attributes of a named MBean through this service(adaptor). The MBean is identified by its object name.
setAttributes in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationssetAttributes in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean within which the
attributes are to be set.attributes - The byte array version of a list of attributes: The identification
of the attributes to be set and the values they are to be set to.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The specified
MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaReflectionException - An exception occurred
when trying to invoke the getAttributes method of a Dynamic MBean.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object name in parameter is null
or attributes in parameter is null.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
public void unregisterMBean(byte[] name)
throws com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException,
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException,
com.adventnet.adaptors.corba.server.CorbaDeserializeException
Operation: ::server::CorbaFactory::unregisterMBean.
#pragma prefix "server/CorbaFactory"
void unregisterMBean(
in ::server::byteCodeObject name
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaMBeanRegistrationException,
::server::CorbaDeserializeException
);
De-registers an MBean from the MBeanServer through this service(adaptor). The MBean is identified by its object name. Once the method has been invoked, the MBean may no longer be accessed by its object name.
unregisterMBean in interface com.adventnet.adaptors.corba.server.RemoteMBeanServerOperationsunregisterMBean in class com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBasename - The byte array version of object name of the MBean to be de-registered.
com.adventnet.adaptors.corba.server.CorbaInstanceNotFoundException - The
specified MBean is not registered in the MBeanServer.
com.adventnet.adaptors.corba.server.CorbaMBeanRegistrationException - The
preDeregister (MBeanRegistration interface) method of the
MBean has thrown an exception.
com.adventnet.adaptors.corba.server.CorbaRuntimeOperationsException - Wraps a
java.lang.IllegalArgumentException: The object name in parameter is
null or the MBean you are when trying to de-register is the
MBeanServerDelegate MBean.
com.adventnet.adaptors.corba.server.CorbaDeserializeException - when any
any problems in the deserialization of the byte array equivalent of the passed objects.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||