org.apache.axis.deployment
Class DeploymentRegistry

java.lang.Object
  |
  +--org.apache.axis.deployment.DeploymentRegistry
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SimpleDeploymentManager

public abstract class DeploymentRegistry
extends java.lang.Object
implements java.io.Serializable

The DeploymentRegistry abstract class takes the place of the org.apache.axis.registry.HandlerRegistry and extends the functionality to cover all Axis deployable items.

Author:
James Snell
See Also:
Serialized Form

Constructor Summary
DeploymentRegistry()
           
 
Method Summary
abstract  void addTypeMappingRegistry(java.lang.String encodingStyle, TypeMappingRegistry tmr)
          add the given type mapping
abstract  void deploy(DeploymentDocument deployment)
          Deploy an Axis WSDD Document
abstract  void deployItem(DeployableItem item)
          deploy the given item
abstract  Handler getDeployedItem(QName qname)
          retrieve an instance of the named handler
abstract  Handler getDeployedItem(java.lang.String name)
          retrieve an instance of the named handler
abstract  WSDDGlobalConfiguration getGlobalConfiguration()
          retrieve the global configuration for the axis engine
abstract  TypeMappingRegistry getTypeMappingRegistry(java.lang.String encodingStyle)
          retrieve an instance of the named mapping registry
static DeploymentRegistry load(java.io.InputStream in)
          load a registry from the given inputstream
static DeploymentRegistry load(java.lang.String filename)
          load a registry from the given filepath
abstract  void removeDeployedItem(QName qname)
          remove the given item
abstract  void removeDeployedItem(java.lang.String name)
          remove the given item
abstract  void removeTypeMappingRegistry(java.lang.String encodingStyle)
          remove the given type mapping
 void save(java.io.OutputStream out)
          Save the registry to the given outputstream
static void save(java.io.OutputStream out, DeploymentRegistry registry)
          save the given registry to the given output stream
 void save(java.lang.String filename)
          Save the registry to the given filepath
static void save(java.lang.String filename, DeploymentRegistry registry)
          Save the given registry to the given filepath
abstract  void setGlobalConfiguration(WSDDGlobalConfiguration global)
          set the global configuration for the axis engine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentRegistry

public DeploymentRegistry()
Method Detail

getGlobalConfiguration

public abstract WSDDGlobalConfiguration getGlobalConfiguration()
                                                        throws DeploymentException
retrieve the global configuration for the axis engine

getDeployedItem

public abstract Handler getDeployedItem(java.lang.String name)
                                 throws DeploymentException
retrieve an instance of the named handler

getDeployedItem

public abstract Handler getDeployedItem(QName qname)
                                 throws DeploymentException
retrieve an instance of the named handler

getTypeMappingRegistry

public abstract TypeMappingRegistry getTypeMappingRegistry(java.lang.String encodingStyle)
                                                    throws DeploymentException
retrieve an instance of the named mapping registry

addTypeMappingRegistry

public abstract void addTypeMappingRegistry(java.lang.String encodingStyle,
                                            TypeMappingRegistry tmr)
                                     throws DeploymentException
add the given type mapping

removeTypeMappingRegistry

public abstract void removeTypeMappingRegistry(java.lang.String encodingStyle)
                                        throws DeploymentException
remove the given type mapping

deploy

public abstract void deploy(DeploymentDocument deployment)
                     throws DeploymentException
Deploy an Axis WSDD Document

deployItem

public abstract void deployItem(DeployableItem item)
                         throws DeploymentException
deploy the given item

removeDeployedItem

public abstract void removeDeployedItem(java.lang.String name)
                                 throws DeploymentException
remove the given item

removeDeployedItem

public abstract void removeDeployedItem(QName qname)
                                 throws DeploymentException
remove the given item

setGlobalConfiguration

public abstract void setGlobalConfiguration(WSDDGlobalConfiguration global)
set the global configuration for the axis engine

save

public void save(java.lang.String filename)
          throws java.io.IOException
Save the registry to the given filepath

save

public void save(java.io.OutputStream out)
          throws java.io.IOException
Save the registry to the given outputstream

save

public static void save(java.lang.String filename,
                        DeploymentRegistry registry)
                 throws java.io.IOException
Save the given registry to the given filepath

save

public static void save(java.io.OutputStream out,
                        DeploymentRegistry registry)
                 throws java.io.IOException
save the given registry to the given output stream

load

public static DeploymentRegistry load(java.lang.String filename)
                               throws java.io.IOException
load a registry from the given filepath

load

public static DeploymentRegistry load(java.io.InputStream in)
                               throws java.io.IOException
load a registry from the given inputstream


Copyright © 2001 Apache XML Project. All Rights Reserved.