org.apache.axis2.corba.deployer
Class CorbaDeployer

java.lang.Object
  extended by org.apache.axis2.corba.deployer.CorbaDeployer
All Implemented Interfaces:
CorbaConstants, Deployer, DeploymentConstants

public class CorbaDeployer
extends java.lang.Object
implements Deployer, DeploymentConstants, CorbaConstants


Field Summary
 
Fields inherited from interface org.apache.axis2.deployment.DeploymentConstants
ATTACHMENTS_LIFECYCLE_MANAGER, ATTRIBUTE_ACTIVATE, ATTRIBUTE_CLASS, ATTRIBUTE_DEFAULT_VERSION, ATTRIBUTE_LOCKED, ATTRIBUTE_NAME, ATTRIBUTE_NAMESPACE, ATTRIBUTE_PACKAGE, ATTRIBUTE_SCOPE, ATTRIBUTE_WSADDRESSING, AXIS2_CONFIGURATION_RESOURCE, AXIS2_CONFIGURATION_XML, AXIS2_REPO, BOOLEAN_FALSE, BOOLEAN_TRUE, DEPLOYER, DIRECTORY, DIRECTORY_AXIS2_HOME, DIRECTORY_CONF, EXTENSION, MAPPING, META_INF, MODULE_DRI_PATH, MODULE_PATH, MODULE_XML, POLICY_NS_URI, PROPERTY_TEMP_DIR, RESOURCE_MODULES, SCHEMA, SCHEMA_ELEMENT_QUALIFIED, SCHEMA_NAME_SPACE, SEPARATOR_COLON, SEPARATOR_DOT, SERVICE_DIR_PATH, SERVICE_PATH, SERVICES_XML, SUFFIX_JAR, SUFFIX_MAR, SUFFIX_WSDL, TAG_AFTER, TAG_ANTI_JAR_LOCKING, TAG_APPLIES_TO, TAG_AXISCONFIG, TAG_BEFORE, TAG_CLASS_NAME, TAG_CLUSTER, TAG_CONFIGURATION_MANAGER, TAG_CONTENT_TYPE, TAG_CONTEXT, TAG_CONTEXT_MANAGER, TAG_DEFAULT_MODULE_VERSION, TAG_DEFAULTS, TAG_DESCRIPTION, TAG_DISPATCH_ORDER, TAG_DISPATCHER, TAG_EXCLUDE, TAG_EXCLUDE_OPERATIONS, TAG_EXCLUDE_PROPERTIES, TAG_EXPOSE, TAG_EXTRACT_SERVICE_ARCHIVE, TAG_FLOW_IN, TAG_FLOW_IN_FAULT, TAG_FLOW_OUT, TAG_FLOW_OUT_FAULT, TAG_HANDLER, TAG_HOT_DEPLOYMENT, TAG_HOT_UPDATE, TAG_INCLUDE_PROPERTIES, TAG_LABEL, TAG_LIST_ID, TAG_LISTENER, TAG_MAPPING, TAG_MEP, TAG_MESSAGE, TAG_MESSAGE_BUILDER, TAG_MESSAGE_BUILDERS, TAG_MESSAGE_FORMATTER, TAG_MESSAGE_FORMATTERS, TAG_MESSAGE_RECEIVER, TAG_MESSAGE_RECEIVERS, TAG_MODULE, TAG_MODULE_CONFIG, TAG_NAMESPACES, TAG_OBJECT_SUPPLIER, TAG_OPERATION, TAG_ORDER, TAG_PACKAGE_NAME, TAG_PACKAGE2QNAME, TAG_PARAMETER, TAG_PHASE, TAG_PHASE_FIRST, TAG_PHASE_LAST, TAG_PHASE_ORDER, TAG_POLICY, TAG_POLICY_ATTACHMENT, TAG_POLICY_REF, TAG_QNAME, TAG_REFERENCE, TAG_REPLICATION, TAG_SERVICE, TAG_SERVICE_GROUP, TAG_SUPPORTED_POLICY_NAMESPACES, TAG_TARGET_RESOLVER, TAG_TARGET_RESOLVERS, TAG_THREAD_CONTEXT_MIGRATOR, TAG_THREAD_CONTEXT_MIGRATORS, TAG_TRANSPORT, TAG_TRANSPORT_RECEIVER, TAG_TRANSPORT_SENDER, TAG_TRANSPORTS, TAG_TYPE, TARGET_NAME_SPACE
 
Fields inherited from interface org.apache.axis2.corba.deployer.CorbaConstants
ARRAY_ITEM, DEFAULR_ORB_CLASS, DEFAULT_ORBSINGLETON_CLASS, DEFAULT_SCHEMA_NAMESPACE_PREFIX, FAULT, FORM_DEFAULT_UNQUALIFIED, HTTP, IDL_FILE, IDL_LITERAL, INTERFACE_NAME, IOR_FILE_PATH, IOR_STRING, NAME_SPACE_PREFIX, NAMING_SERVICE_URL, OBJECT_NAME, ORB_CLASS, ORB_LITERAL, ORB_SINGLETON_CLASS, ORG_OMG_CORBA_ORBCLASS, ORG_OMG_CORBA_ORBSINGLETON_CLASS, PACKAGE_CLASS_DELIMITER, RESPONSE, RETURN_WRAPPER, SCHEMA_NAMESPACE_EXTN, URI_2001_SCHEMA_XSD, VOID
 
Constructor Summary
CorbaDeployer()
           
 
Method Summary
 void deploy(DeploymentFileData deploymentFileData)
          Process a file and add it to the configuration
 void init(ConfigurationContext configCtx)
          Initialize the Deployer
protected  MessageReceiver loadMessageReceiver(java.lang.ClassLoader loader, java.lang.String className)
           
protected  java.util.HashMap processMessageReceivers(java.lang.ClassLoader loader, org.apache.axiom.om.OMElement element)
           
 void setDirectory(java.lang.String directory)
          Set the directory
 void setExtension(java.lang.String extension)
          Set the extension to look for TODO: Support multiple extensions?
 void unDeploy(java.lang.String fileName)
          Remove a given file from the configuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorbaDeployer

public CorbaDeployer()
Method Detail

init

public void init(ConfigurationContext configCtx)
Description copied from interface: Deployer
Initialize the Deployer

Specified by:
init in interface Deployer
Parameters:
configCtx - our ConfigurationContext

deploy

public void deploy(DeploymentFileData deploymentFileData)
            throws DeploymentException
Description copied from interface: Deployer
Process a file and add it to the configuration

Specified by:
deploy in interface Deployer
Parameters:
deploymentFileData - the DeploymentFileData object to deploy
Throws:
DeploymentException - if there is a problem

processMessageReceivers

protected java.util.HashMap processMessageReceivers(java.lang.ClassLoader loader,
                                                    org.apache.axiom.om.OMElement element)
                                             throws DeploymentException
Throws:
DeploymentException

loadMessageReceiver

protected MessageReceiver loadMessageReceiver(java.lang.ClassLoader loader,
                                              java.lang.String className)
                                       throws DeploymentException
Throws:
DeploymentException

setDirectory

public void setDirectory(java.lang.String directory)
Description copied from interface: Deployer
Set the directory

Specified by:
setDirectory in interface Deployer
Parameters:
directory - directory name

setExtension

public void setExtension(java.lang.String extension)
Description copied from interface: Deployer
Set the extension to look for TODO: Support multiple extensions?

Specified by:
setExtension in interface Deployer
Parameters:
extension - the file extension associated with this Deployer

unDeploy

public void unDeploy(java.lang.String fileName)
              throws DeploymentException
Description copied from interface: Deployer
Remove a given file from the configuration

Specified by:
unDeploy in interface Deployer
Parameters:
fileName - name of item to remove
Throws:
DeploymentException - if there is a problem


Copyright © 2007 Apache Web Services Project. All Rights Reserved.