FileDocCategorySizeDatePackage
LocalDeploymentFacilityImpl.javaAPI DocGlassfish v2 API3206Fri May 04 22:34:36 BST 2007com.sun.enterprise.deployment.client.local

LocalDeploymentFacilityImpl

public class LocalDeploymentFacilityImpl extends com.sun.enterprise.deployment.client.DeploymentFacilityImpl
This extends DeploymentFacilityImpl and gives local clients access to backend via a local connection

Fields Summary
Constructors Summary
public LocalDeploymentFacilityImpl()

        super();
    
Methods Summary
public booleanconnect(com.sun.enterprise.deployment.client.ServerConnectionIdentifier targetDAS)
Connects to the local domain adminstration server

        dasConnection = new MBeanServerConnectionConnectionSource(MBeanServerFactory.getMBeanServer());
        serverId = targetDAS;
        domain = new SunTarget(targetDAS);
        domain.setConnectionSource(dasConnection);
        domain.setTargetType(TargetType.DOMAIN);
        localConnection = Boolean.TRUE;
        return true;