|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.muse.core.platform.osgi.descriptor.OSGiDeploymentDescriptor
public class OSGiDeploymentDescriptor
OSGiDeploymentDescriptor is an implementation of DeploymentDescriptor
specific to the OSGi environment
DeploymentDescriptor
Field Summary | |
---|---|
protected org.osgi.framework.Bundle |
bundle
the Bundle the current deployment descriptor was loaded from |
Constructor Summary | |
---|---|
OSGiDeploymentDescriptor()
|
Method Summary | |
---|---|
protected Collection |
createResourceDefinitions(Element xml,
Environment env)
creates the set of resource definitions for a deployment descriptor. |
protected ResourceDescriptor |
createResourceDescriptor()
factory method for creating ResourceDescriptors |
protected RouterDefinition |
createRouterDefinition(Element xml,
Environment env)
factory method for creating RouterDefinitions |
protected RouterDescriptor |
createRouterDescriptor()
factory method for creating RouterDescriptors |
Collection |
createSerializerDefinitions(Element xml,
Environment env)
|
protected SerializerDescriptor |
createSerializerDescriptor()
|
Collection |
getResourceDefinitions()
|
RouterDefinition |
getRouterDefinition()
|
Collection |
getSerializerDefinitions()
|
String |
getWsdlPathForContext(Document xml,
String context)
|
void |
load(Document xml,
Environment environment)
loads the descriptor from the muse.xml document. |
Collection |
loadContextPaths(Document xml,
Environment env)
Loads the context paths from the muse.xml descriptor |
void |
setBundle(org.osgi.framework.Bundle bundle)
setter for the decriptor Bundle |
void |
setResourceDefinitions(Collection definitions)
|
void |
setRouterDefinition(RouterDefinition definition)
|
void |
setSerializerDefinitions(Collection definitions)
|
Element |
toXML()
Converts this object into an XML representation, as defined by its related schema or specification. |
Element |
toXML(Document doc)
Converts this object into an XML representation, as defined by its related schema or specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.osgi.framework.Bundle bundle
Constructor Detail |
---|
public OSGiDeploymentDescriptor()
Method Detail |
---|
public void setBundle(org.osgi.framework.Bundle bundle)
bundle
- public Collection loadContextPaths(Document xml, Environment env) throws SoapFault
xml
- env
-
SoapFault
DeploymentDescriptor#loadContextPaths(Document, Environment)
public String getWsdlPathForContext(Document xml, String context) throws SoapFault
SoapFault
public void load(Document xml, Environment environment) throws SoapFault
load
in interface DeploymentDescriptor
SoapFault
DeploymentDescriptor.load(Document, Environment)
protected Collection createResourceDefinitions(Element xml, Environment env) throws SoapFault
xml
- env
-
OSGiResourceDescriptor
objects
SoapFault
OSGiResourceDescriptor
protected ResourceDescriptor createResourceDescriptor()
OSGiResourceDescriptor
instanceOSGiResourceDescriptor
protected RouterDescriptor createRouterDescriptor()
OSGiRouterDescriptor
instanceOSGiRouterDescriptor
protected RouterDefinition createRouterDefinition(Element xml, Environment env) throws SoapFault
xml
- env
-
SoapFault
protected SerializerDescriptor createSerializerDescriptor()
public Collection createSerializerDefinitions(Element xml, Environment env) throws SoapFault
SoapFault
public Collection getSerializerDefinitions()
getSerializerDefinitions
in interface DeploymentDescriptor
public Collection getResourceDefinitions()
getResourceDefinitions
in interface DeploymentDescriptor
public RouterDefinition getRouterDefinition()
getRouterDefinition
in interface DeploymentDescriptor
public void setSerializerDefinitions(Collection definitions)
setSerializerDefinitions
in interface DeploymentDescriptor
public void setResourceDefinitions(Collection definitions)
setResourceDefinitions
in interface DeploymentDescriptor
public void setRouterDefinition(RouterDefinition definition)
setRouterDefinition
in interface DeploymentDescriptor
public Element toXML()
XmlSerializable
toXML
in interface XmlSerializable
public Element toXML(Document doc)
XmlSerializable
toXML
in interface XmlSerializable
doc
- The DOM Document that will be used to create all of the nodes
in the resulting XML fragment.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |