org.netbeans.modules.j2eeserver/4 1.89.0 1

org.netbeans.modules.j2ee.deployment.plugins.spi.support
Class ProxyDeploymentFactory

java.lang.Object
  extended by org.netbeans.modules.j2ee.deployment.plugins.spi.support.ProxyDeploymentFactory
All Implemented Interfaces:
javax.enterprise.deploy.spi.factories.DeploymentFactory

public final class ProxyDeploymentFactory
extends Object
implements javax.enterprise.deploy.spi.factories.DeploymentFactory

Provides a proxying implementation of DeploymentFactory. Handles optional urlPattern attribute as precheck for url the plugin can handle. Designed to be used via XML layer filesystem.

The urlPattern attribute is expected to be regexp string. If it is present the server instance uri must match the regexp otherwise handlesURI(java.lang.String) will automatically return false (before querying the delegate).

Since:
1.65

Method Summary
static ProxyDeploymentFactory create(Map map)
           
 javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String string, String string1, String string2)
           
 javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String string)
           
 String getDisplayName()
           
 String getProductVersion()
           
 boolean handlesURI(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ProxyDeploymentFactory create(Map map)

handlesURI

public boolean handlesURI(String string)
Specified by:
handlesURI in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

getProductVersion

public String getProductVersion()
Specified by:
getProductVersion in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

getDisconnectedDeploymentManager

public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String string)
                                                                               throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
Specified by:
getDisconnectedDeploymentManager in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
Throws:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException

getDeploymentManager

public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String string,
                                                                          String string1,
                                                                          String string2)
                                                                   throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
Specified by:
getDeploymentManager in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
Throws:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException

org.netbeans.modules.j2eeserver/4 1.89.0 1

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.