Examples of unpublishObject()


Examples of com.sun.appserv.connectors.internal.api.ResourceNamingService.unpublishObject()

    public void deleteAdminObject(ResourceInfo resourceInfo)
            throws ConnectorRuntimeException {

        ResourceNamingService namingService = _runtime.getResourceNamingService();
        try {
            namingService.unpublishObject(resourceInfo, resourceInfo.getName());
        }
        catch (NamingException ne) {
            /* TODO V3 JMS RA ?
            ResourcesUtil resutil = ResourcesUtil.createInstance();
            if (resutil.adminObjectBelongsToSystemRar(jndiName)) {
View Full Code Here

Examples of com.sun.enterprise.NamingManager.unpublishObject()

        // converts the config data to j2ee resource
        J2EEResource j2eeResource =
            IASJ2EEResourceFactoryImpl.toMailJ2EEResource(mailRes);

        // removes the resource from jndi naming
        namingMgr.unpublishObject(j2eeResource.getName());

        // resource installer
        ResourceInstaller installer = getAppServerSwitchObject().getResourceInstaller();

        // removes the resource from the collection
View Full Code Here

Examples of com.sun.enterprise.NamingManager.unpublishObject()

    public synchronized void undeployResource(Object resource)
            throws Exception {
        NamingManager namingMgr = Switch.getSwitch().getNamingManager();
        PersistenceManagerFactoryResource configPMFRes =
                (PersistenceManagerFactoryResource)resource;
        namingMgr.unpublishObject(configPMFRes.getJndiName());

        ResourceInstaller installer = Switch.getSwitch().getResourceInstaller();
        installer.removeResource(
                IASJ2EEResourceFactoryImpl.toPMFJ2EEResource(configPMFRes));
    }
View Full Code Here

Examples of com.sun.enterprise.NamingManager.unpublishObject()

        // converts the config data to j2ee resource
        J2EEResource j2eeResource =
            IASJ2EEResourceFactoryImpl.toCustomJ2EEResource(customRes);

        // removes the resource from jndi naming
        namingMgr.unpublishObject( j2eeResource.getName() );

        // resource installer
        ResourceInstaller installer = Switch.getSwitch().getResourceInstaller();

        // removes the resource from the collection
View Full Code Here

Examples of org.glassfish.api.naming.GlassfishNamingManager.unpublishObject()

    }

    private void unpublishJndiNames() throws NamingException {
        GlassfishNamingManager gfNamingManager = habitat.getService(GlassfishNamingManager.class);
        for (String next : getJndiNames()) {
            gfNamingManager.unpublishObject(next);
        }
    }

    private void deployMEJB() throws IOException {
        _logger.info("Loading MEJB app on JNDI look up");
View Full Code Here

Examples of org.glassfish.api.naming.GlassfishNamingManager.unpublishObject()

    }

    private void unpublishJndiNames() throws NamingException {
        GlassfishNamingManager gfNamingManager = habitat.getComponent(GlassfishNamingManager.class);
        for (String next : getJndiNames()) {
            gfNamingManager.unpublishObject(next);
        }
    }

    private void deployMEJB() throws IOException {
        _logger.info("Loading MEJB app on JNDI look up");
View Full Code Here

Examples of org.glassfish.resourcebase.resources.naming.ResourceNamingService.unpublishObject()

    public void deleteAdminObject(ResourceInfo resourceInfo)
            throws ConnectorRuntimeException {

        ResourceNamingService namingService = _runtime.getResourceNamingService();
        try {
            namingService.unpublishObject(resourceInfo, resourceInfo.getName());
        }
        catch (NamingException ne) {
            /* TODO V3 JMS RA ?
            ResourcesUtil resutil = ResourcesUtil.createInstance();
            if (resutil.adminObjectBelongsToSystemRar(jndiName)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.