Package com.sun.enterprise.admin.target

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


    public ObjectName createIiopListener(   AttributeList   attrList,
                                            Properties      props,
                                            String          targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);    
        check1ToN(target);
        ObjectName iiopService = getIiopServiceMBean(target);
        ObjectName mbean = (ObjectName)invoke1(iiopService,
            "createIiopListener", attrList, AttributeList.class.getName());
        setProperties(mbean, props);
View Full Code Here


    }

    public boolean deleteIiopListener(String listenerId, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
        final ObjectName iiopService = getIiopServiceMBean(target);
        invoke1(iiopService, "removeIiopListenerById", listenerId,
                String.class.getName());
        return true;
View Full Code Here

    }

    public ObjectName[] listIiopListeners(String targetName)
        throws MBeanException
    {
        final Target target = getListTarget(targetName);
        ObjectName iiopService = getIiopServiceMBean(target);
        ObjectName[] ret = (ObjectName[])invoke0(iiopService,
                                                 "getIiopListener");
        return ret;
    }
View Full Code Here

                                String          id,
                                String          type,
                                String          targetName)
        throws Exception
    {
        final Target target = getTarget(targetName);       
        check1ToN(target);
        ObjectName targetON = getSslTargetObjectName(target, id, type);
        if ("iiop-service".equals(type))
        {
            Config config = getConfigBeanForTarget(target);
View Full Code Here

    }

    public boolean deleteSsl(String id, String type, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);  
        check1ToN(target);
        final ObjectName targetON = getSslTargetObjectName(target, id, type);
        final String opName = "iiop-service".equals(type) ?
            "removeSslClientConfig" : "removeSsl";
        invoke0(targetON, opName);
View Full Code Here

    public ObjectName createVirtualServerAttributeList al,
                                            Properties props,
                                            String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);      
        check1ToN(target);
        ObjectName httpService = getHttpServiceMBean(target);
        ObjectName mbean = (ObjectName)invoke1(httpService,
            "createVirtualServer", al, AttributeList.class.getName());
        final Properties nProps = copyProperties(props);
View Full Code Here

    }

    public boolean deleteVirtualServer(String id, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);      
        check1ToN(target);
        final ObjectName httpService = (ObjectName)getHttpServiceMBean(target);
        invoke1(httpService, "removeVirtualServerById", id,
                String.class.getName());
        return true;
View Full Code Here

    }

    public ObjectName[] listVirtualServers(String targetName)
        throws MBeanException
    {
        final Target target = getListTarget(targetName);
        ObjectName httpService = getHttpServiceMBean(target);
        ObjectName[] ret = (ObjectName[])invoke0(httpService,
                                                 "getVirtualServer");
        return ret;
    }
View Full Code Here

    public ObjectName createAuthRealm(AttributeList attrs,
                                      Properties    props,
                                      String        targetName)
        throws Exception
    {
        final Target target = getTarget(targetName);
        check1ToN(target);
       
        //first, create standalone auth-realm
        Config config = getConfigBeanForTarget(target);
        SecurityService secService = config.getSecurityService();
View Full Code Here

   
   
    public boolean deleteAuthRealm(String name, String targetName)
        throws MBeanException
    {
        final Target target = getTarget(targetName);      
        check1ToN(target);
        final ObjectName securityService = getSecurityServiceMBean(target);
        invoke1(securityService, "removeAuthRealmByName", name,
                String.class.getName());
        return true;
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.