org.jboss.system.metadata
Class ServiceConstructorMetaData

java.lang.Object
  extended by org.jboss.system.metadata.ServiceConstructorMetaData
All Implemented Interfaces:
Serializable

public class ServiceConstructorMetaData
extends Object
implements Serializable

ServiceConstructorMetaData. This class is based on the old ConstructorInfo from ServiceCreator

Version:
$Revision: 85945 $
Author:
Marc Fleury, David Jencks, Adrian Brock
See Also:
Serialized Form

Field Summary
static Object[] EMPTY_PARAMETERS
          An empty parameters
static String[] EMPTY_PARAMS
          An empty parameters list.
static String[] EMPTY_SIGNATURE
          An signature list.
 
Constructor Summary
ServiceConstructorMetaData()
           
 
Method Summary
 Object[] getParameters(ClassLoader cl)
          Get the parameters
 String[] getParams()
          Get the params.
 String[] getSignature()
          Get the signature.
 void setParameters(Object[] parameters)
          Set the parameters.
 void setParams(String[] params)
          Set the params.
 void setSignature(String[] signature)
          Set the signature.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_PARAMETERS

public static final Object[] EMPTY_PARAMETERS
An empty parameters


EMPTY_PARAMS

public static final String[] EMPTY_PARAMS
An empty parameters list.


EMPTY_SIGNATURE

public static final String[] EMPTY_SIGNATURE
An signature list.

Constructor Detail

ServiceConstructorMetaData

public ServiceConstructorMetaData()
Method Detail

getParams

public String[] getParams()
Get the params.

Returns:
the params.

setParams

public void setParams(String[] params)
Set the params.

Parameters:
params - the params.

getSignature

public String[] getSignature()
                      throws ConfigurationException
Get the signature.

Returns:
the signature.
Throws:
ConfigurationException - if there is a problem with the signature

setSignature

public void setSignature(String[] signature)
Set the signature.

Parameters:
signature - the signature.

getParameters

public Object[] getParameters(ClassLoader cl)
                       throws Exception
Get the parameters

Parameters:
cl - the class loader
Returns:
the parameters
Throws:
Exception - for any error

setParameters

public void setParameters(Object[] parameters)
Set the parameters.

Parameters:
parameters - the parameters.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.