Package com.sun.enterprise.admin.common

Examples of com.sun.enterprise.admin.common.AdminRequest


                         Object[]      params,
                         String[]      signature)
        throws  InstanceNotFoundException, MBeanException, ReflectionException
    {
        Object returnValue = null;
        AdminRequest request = new AdminRequest(AdminRequestType.INVOKE);
        AdminRequestConfigurator reqConfigurator =
            new AdminRequestConfigurator(request);
        reqConfigurator.setObjectName(mbeanName);
        reqConfigurator.setOperationName(operationName);
        reqConfigurator.setOperationParams(params);
View Full Code Here


    public Object getAttribute(ObjectName mbeanName, String attributeName)
        throws  MBeanException, AttributeNotFoundException,
                InstanceNotFoundException, ReflectionException
    {
        Object returnValue = null;
        AdminRequest request = new AdminRequest(AdminRequestType.GET_ATTRIBUTE);
        AdminRequestConfigurator reqConfigurator =
            new AdminRequestConfigurator(request);
        reqConfigurator.setObjectName(mbeanName);
        reqConfigurator.setAttributeName(attributeName);
        reqConfigurator.setClientVersion(ADMIN_CLIENT_VERSION);
View Full Code Here

    public void setAttribute(ObjectName mbeanName, Attribute attribute)
        throws  InstanceNotFoundException, AttributeNotFoundException,
                InvalidAttributeValueException, MBeanException,
                ReflectionException
    {
        AdminRequest request = new AdminRequest(AdminRequestType.SET_ATTRIBUTE);
        AdminRequestConfigurator reqConfigurator =
            new AdminRequestConfigurator(request);
        reqConfigurator.setObjectName(mbeanName);
        reqConfigurator.setAttribute(attribute);
        reqConfigurator.setClientVersion(ADMIN_CLIENT_VERSION);
View Full Code Here

    public AttributeList getAttributes(ObjectName   mbeanName,
                                       String[]     attributes)
        throws  InstanceNotFoundException, ReflectionException
    {
        AttributeList values = null;
        AdminRequest request = new AdminRequest(
                                    AdminRequestType.GET_ATTRIBUTES);
        AdminRequestConfigurator reqConfigurator =
            new AdminRequestConfigurator(request);
        reqConfigurator.setObjectName(mbeanName);
        reqConfigurator.setAttributeNames(attributes);
View Full Code Here

    public AttributeList setAttributes(ObjectName       mbeanName,
                                       AttributeList    attributes)
        throws  InstanceNotFoundException, ReflectionException
    {
        AttributeList values = null;
        AdminRequest request = new AdminRequest(
                                    AdminRequestType.SET_ATTRIBUTES);
        AdminRequestConfigurator reqConfigurator =
            new AdminRequestConfigurator(request);
        reqConfigurator.setObjectName(mbeanName);
        reqConfigurator.setAttributeList(attributes);
View Full Code Here

            mLogger.log(Level.FINE, "comm.recd_request");
            ObjectInputStream inpStream = new ObjectInputStream (
      new BufferedInputStream(
        request.getInputStream()));
            Object obj = inpStream.readObject();
            AdminRequest adminRequest = (AdminRequest)obj;
           
            resultObject = clientVersionCheck(adminRequest);
      if(resultObject == null)
        resultObject = callMBean(adminRequest);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.common.AdminRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.