org.jboss.soa.esb.listeners.deployers.mc
Class EsbMetaData

java.lang.Object
  extended by org.jboss.soa.esb.listeners.deployers.mc.EsbMetaData
All Implemented Interfaces:
java.io.Serializable

public class EsbMetaData
extends java.lang.Object
implements java.io.Serializable

Metadata for an ESB deployment.

Author:
Daniel Bevenius
See Also:
Serialized Form

Constructor Summary
EsbMetaData(java.lang.String esbConfigXml, java.lang.String archiveName, java.lang.String deploymentName, java.util.Set<javax.management.ObjectName> dependencies, ModelAdapter model)
          Sole constructor.
 
Method Summary
 java.lang.String getArchiveName()
          Gets the name of the archive that this metadata came from.
 java.util.Set<javax.management.ObjectName> getDependencies()
          Gets a set of dependencies of this deployment.
 java.lang.String getDeploymentName()
          The deployment name is the name of the .esb archive without the .esb suffix.
 java.lang.String getEsbConfigXml()
          Gets the esb xml configuration.
 ModelAdapter getModel()
          The model adapter for the configuration.
 java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> getPublishers()
          Gets the publishers for this deployment.
 java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> getServlets()
          Gets the servlets for this deployment.
 void setPublishers(java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> publishers)
          Sets the publishers for this deployment.
 void setServlets(java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> servlets)
          Sets the servlets for this deployment.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EsbMetaData

public EsbMetaData(java.lang.String esbConfigXml,
                   java.lang.String archiveName,
                   java.lang.String deploymentName,
                   java.util.Set<javax.management.ObjectName> dependencies,
                   ModelAdapter model)
Sole constructor.

Parameters:
esbConfigXml - The xml configuration for the ESB.
archiveName - The name of the .esb archive from which this deployment comes from.
dependencies - Dependencies of this deployment. This might be object names or simply bean names.
model - The ModelAdapter for the deployment.
Method Detail

getArchiveName

public final java.lang.String getArchiveName()
Gets the name of the archive that this metadata came from.

Returns:
String The name of the archive that this metadata came from.

getEsbConfigXml

public java.lang.String getEsbConfigXml()
Gets the esb xml configuration. This is the actual xml and not a file path or anything else.

Returns:
String The esb xml configuration.

getDependencies

public java.util.Set<javax.management.ObjectName> getDependencies()
Gets a set of dependencies of this deployment.

Returns:
Set A set of object names that the deployment represented by this instance depends on.

getDeploymentName

public java.lang.String getDeploymentName()
The deployment name is the name of the .esb archive without the .esb suffix.

Returns:
String The name of the deployment. This is the archive name without the .esb suffix.

getModel

public ModelAdapter getModel()
The model adapter for the configuration.

Returns:
ModelAdapter The model adapter for the configuration.

setPublishers

public void setPublishers(java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> publishers)
Sets the publishers for this deployment.

Parameters:
publishers - The publishers for this deployment.

getPublishers

public java.util.List<org.jboss.internal.soa.esb.publish.ContractReferencePublisher> getPublishers()
Gets the publishers for this deployment.

Returns:
List List of publishers for this deployment.

setServlets

public void setServlets(java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> servlets)
Sets the servlets for this deployment.

Parameters:
servlets - The servlets for this deployment.

getServlets

public java.util.List<org.jboss.internal.soa.esb.listeners.war.Servlet> getServlets()
Gets the servlets for this deployment.

Returns:
List List of servlets for this deployment.

toString

public final java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
String String representation of this metadata.