Package com.sun.enterprise.admin.target

Examples of com.sun.enterprise.admin.target.Target


    }

    public boolean deleteJaccProvider(String name, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName securityService = getSecurityServiceMBean(target);
        invoke1(securityService, "removeJaccProviderByName", name,
                String.class.getName());
        return true;
View Full Code Here


    }

    public ObjectName[] listJaccProviders(String targetName)
        throws MBeanException
    {
        final Target target = getListTarget(targetName);
        final ObjectName securityService = getSecurityServiceMBean(target);
        return (ObjectName[])invoke0(securityService, "getJaccProvider");
    }
View Full Code Here

    public ObjectName createThreadPool(AttributeList   attrs,
                                       Properties      props,
                                       String          targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName threadPools = getThreadPoolsMBean(target);
        final ObjectName threadPool = (ObjectName)invoke1(threadPools,
            "createThreadPool", attrs, AttributeList.class.getName());
        setProperties(threadPool, props);
View Full Code Here

    }

    public boolean deleteThreadPool(String threadPoolId, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName threadPools = getThreadPoolsMBean(target);
        invoke1(threadPools, "removeThreadPoolByThreadPoolId",
            threadPoolId, String.class.getName());
        return true;
View Full Code Here

    }

    public ObjectName[] listThreadPools(String targetName)
        throws MBeanException
    {
        final Target target = getListTarget(targetName);
        final ObjectName threadPools = getThreadPoolsMBean(target);
        return (ObjectName[])invoke0(threadPools, "getThreadPool");
    }
View Full Code Here

    public ObjectName createSessionPropertiesAttributeList   al,
                                                Properties      props,
                                                String          targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName sessionConfig = getSessionConfigMBean(target, true);
        final ObjectName on = (ObjectName)invoke1(sessionConfig,
            "createSessionProperties", al, AttributeList.class.getName());
        setProperties(on, props);
View Full Code Here

    }

    public boolean deleteSessionProperties(String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName sessionConfig = getSessionConfigMBean(target, false);
        invoke0(sessionConfig, "removeSessionProperties");
        return true;
    }
View Full Code Here

    public ObjectName createManagerPropertiesAttributeList   al,
                                                Properties      props,
                                                String          targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName sessionManager = getSessionManagerMBean(target, true);
        final ObjectName on = (ObjectName)invoke1(sessionManager,
            "createManagerProperties", al, AttributeList.class.getName());
        setProperties(on, props);
View Full Code Here

    }

    public boolean deleteManagerProperties(String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName sessionManager = getSessionManagerMBean(target, false);
        invoke0(sessionManager, "removeManagerProperties");
        return true;
    }
View Full Code Here

    public ObjectName createStoreProperties(AttributeList   al,
                                            Properties      props,
                                            String          targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName sessionManager = getSessionManagerMBean(target, true);
        final ObjectName on = (ObjectName)invoke1(sessionManager,
            "createStoreProperties", al, AttributeList.class.getName());
        setProperties(on, props);
View Full Code Here

TOP

Related Classes of com.sun.enterprise.admin.target.Target

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.