|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--com.adventnet.adaptors.corba.server._RemoteMBeanServerImplBase
|
+--com.adventnet.adaptors.corba.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
);
void addNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener,
in ::server::NotificationFilter filter,
in ::server::byteCodeObject handback
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaDeserializeException
);
::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::CorbaDeserializeException
);
void removeNotificationListener2(
in ::server::byteCodeObject name,
in ::server::byteCodeObject listener
)
raises(
::server::CorbaInstanceNotFoundException,
::server::CorbaListenerNotFoundException,
::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) MBeanServer |
server
|
| Constructor Summary | |
RemoteMBeanServerImpl(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,
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 |
MBeanInfo |
getAccessViewMBeanInfo(MBeanInfo mbeanInfo,
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(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 |
| Field Detail |
java.lang.String implName
MBeanServer server
| Constructor Detail |
public RemoteMBeanServerImpl(java.lang.String implName)
The - implName of the corba object.public RemoteMBeanServerImpl(MBeanServer server)
server - The MBeanServer object.
public RemoteMBeanServerImpl(java.lang.String implName,
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(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.
name - 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.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.
public java.lang.String getAdaptorVersion()
Operation: ::server::CorbaFactory::getAdaptorVersion.
#pragma prefix "server/CorbaFactory" string getAdaptorVersion();
Gets the version of the Corba Adaptor.
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.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.
name - 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.
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.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::CorbaDeserializeException );
Removes the corba NotificationListener from the MBeanServer which was registeres as JMX NotificationListener with the specified mbean.
name - the byte array version of the ObjectName of the mbean to which the
specified corba notificationlistener was registered.listener - the corba notificationlistener
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.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.
name - 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.
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.
className - The class name of the MBean to be instantiated.name - The byte array version of object name of the MBean. May be null.
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.
className - 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.
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.
className - 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.
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.
className - 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.
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.
name - 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.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.
public 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).
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.
name - The byte array version of name of the MBean to analyze
public MBeanInfo getAccessViewMBeanInfo(MBeanInfo mbeanInfo,
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).
name - The byte array version of object name of the MBean.
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.
className - The class name of the object to be instantiated.
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.
className - 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.
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.
className - The class name of the object to be instantiated.loaderName - The byte array version of object name of the class loader to be used.
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.
className - 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.
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).
name - 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.
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).
name - The byte array version of object name of the MBean to be checked.
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.
name - The byte array of the object name of the MBean to be checked.className - The name of the class.
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.
name - 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.public java.util.Set getViewAccessMBeans(java.util.Set names)
public void authenticate(byte[] usercontext)
throws com.adventnet.adaptors.corba.server.CorbaAuthenticationException
userContext - contains the Users to be authenticatedpublic 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()
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.
name - 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.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.
className - 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.
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.
className - 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.
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.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::CorbaDeserializeException );
Removes the corba NotificationListener from the MBeanServer which was registered as JMX NotificationListener with the specified mbean.
name - 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
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.
name - 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.
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.
name - 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.
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.
name - The byte array version of object name of the MBean to be de-registered.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||