Package com.sun.enterprise.admin.common

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


    /**
     */
    public void setException(Throwable t)
    {
        //ArgChecker.check(t); Do we need this check?
        response.addParam(new Param(AdminConstants.EXCEPTION, t));
    }
View Full Code Here


        response.addParam(new Param(AdminConstants.EXCEPTION, t));
    }

    public boolean hasException()
    {
        Param param = response.getParam(AdminConstants.EXCEPTION);
        if (param != null)
        {
            return (param.mValue != null);
        }
        return false;
View Full Code Here

    public Throwable getException()
    {
        Throwable t = null;
        if (hasException())
        {
            Param param = response.getParam(AdminConstants.EXCEPTION);
            t = (Throwable)param.mValue;
        }
        return t;
    }
View Full Code Here

        return t;
    }

    public void setReturnValue(Serializable value)
    {
        response.addParam(new Param(AdminConstants.RETURN_VALUE, value));
    }
View Full Code Here

    }

    public Object getReturnValue()
    {
        Object returnValue = null;
        Param param = response.getParam(AdminConstants.RETURN_VALUE);
        if (param != null)
        {
            returnValue = (Object)param.mValue;
        }
        return returnValue;
View Full Code Here

    /**
     * Sets the objectName param in the request.
     */
    public void setObjectName(ObjectName objectName)
    {
        request.addParam(new Param(AdminConstants.OBJECT_NAME, objectName));
    }
View Full Code Here

     * Gets the objectName param value from the request.
     */
    public ObjectName getObjectName()
    {
        ObjectName objectName = null;
        Param param = request.getParam(AdminConstants.OBJECT_NAME);
        if (param != null)
        {
            objectName = (ObjectName)(param.mValue);
        }
        return objectName;
View Full Code Here

    /**
     * Sets the clientVersion param in the request.
     */
    public void setClientVersion(String clientVersion)
    {
        request.addParam(new Param(AdminConstants.CLIENT_VERSION,
                                        clientVersion));
    }
View Full Code Here

     * Gets the clientVersion param value from the request.
     */
    public String getClientVersion()
    {
        String clientVersion = null;
        Param param = request.getParam(AdminConstants.CLIENT_VERSION);
        if (param != null)
        {
            clientVersion = (String)(param.mValue);
        }
        return clientVersion;
View Full Code Here

    /**
     * Sets the operationName param in the request.
     */
    public void setOperationName(String operationName)
    {
        request.addParam(new Param(AdminConstants.OPERATION_NAME,
                                        operationName));
    }
View Full Code Here

TOP

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

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.