org.jfox.ejb.deploy
Class DeployerSupport

java.lang.Object
  extended byorg.huihoo.jfox.system.ComponentSupport
      extended byorg.jfox.ejb.deploy.DeployerSupport
All Implemented Interfaces:
Component, Deployer, Loggable, Persistentable, java.io.Serializable
Direct Known Subclasses:
EJBDeployer

public abstract class DeployerSupport
extends ComponentSupport
implements Deployer

Deployer µÄ³¬Àà

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.huihoo.jfox.system.ComponentSupport
logger, name, proxyInstance, sequence, state
 
Constructor Summary
DeployerSupport()
           
 
Method Summary
 void deploy(java.lang.String url)
           
protected abstract  EJBMetaInfo[] deploy(java.net.URL url)
           
protected  java.util.Map getDeployments()
           
protected  java.lang.Object getInfo(java.net.URL url)
           
 boolean isDeployed(java.lang.String url)
           
 void undeploy(java.lang.String url)
           
protected abstract  void undeploy(java.net.URL url, EJBMetaInfo[] deployments)
           
 
Methods inherited from class org.huihoo.jfox.system.ComponentSupport
destroy, doDestroy, doInit, getLogger, getName, getState, init, parseName, setLogger, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployerSupport

public DeployerSupport()
Method Detail

deploy

public void deploy(java.lang.String url)
            throws java.net.MalformedURLException,
                   java.io.IOException
Specified by:
deploy in interface Deployer
Throws:
java.net.MalformedURLException
java.io.IOException

undeploy

public void undeploy(java.lang.String url)
              throws java.net.MalformedURLException,
                     java.io.IOException
Specified by:
undeploy in interface Deployer
Throws:
java.net.MalformedURLException
java.io.IOException

isDeployed

public boolean isDeployed(java.lang.String url)
                   throws java.net.MalformedURLException
Specified by:
isDeployed in interface Deployer
Throws:
java.net.MalformedURLException

getInfo

protected java.lang.Object getInfo(java.net.URL url)

getDeployments

protected java.util.Map getDeployments()

deploy

protected abstract EJBMetaInfo[] deploy(java.net.URL url)
                                 throws java.io.IOException
Throws:
java.io.IOException

undeploy

protected abstract void undeploy(java.net.URL url,
                                 EJBMetaInfo[] deployments)
                          throws java.io.IOException
Throws:
java.io.IOException