org.openejb.alt.config.sys
Class ServicesJar

java.lang.Object
  extended by org.openejb.alt.config.sys.ServicesJar
All Implemented Interfaces:
java.io.Serializable

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

Class ServicesJar.

Version:
$Revision: 1105 $ $Date: 2004-03-30 16:45:22 -0800 (Tue, 30 Mar 2004) $
See Also:
Serialized Form

Constructor Summary
ServicesJar()
           
 
Method Summary
 void addServiceProvider(int index, ServiceProvider vServiceProvider)
          Method addServiceProvider
 void addServiceProvider(ServiceProvider vServiceProvider)
          Method addServiceProvider
 java.util.Enumeration enumerateServiceProvider()
          Method enumerateServiceProvider
 ServiceProvider[] getServiceProvider()
          Method getServiceProvider
 ServiceProvider getServiceProvider(int index)
          Method getServiceProvider
 int getServiceProviderCount()
          Method getServiceProviderCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllServiceProvider()
          Method removeAllServiceProvider
 ServiceProvider removeServiceProvider(int index)
          Method removeServiceProvider
 void setServiceProvider(int index, ServiceProvider vServiceProvider)
          Method setServiceProvider
 void setServiceProvider(ServiceProvider[] serviceProviderArray)
          Method setServiceProvider
static java.lang.Object unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServicesJar

public ServicesJar()
Method Detail

addServiceProvider

public void addServiceProvider(ServiceProvider vServiceProvider)
                        throws java.lang.IndexOutOfBoundsException
Method addServiceProvider

Parameters:
vServiceProvider -
Throws:
java.lang.IndexOutOfBoundsException

addServiceProvider

public void addServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws java.lang.IndexOutOfBoundsException
Method addServiceProvider

Parameters:
index -
vServiceProvider -
Throws:
java.lang.IndexOutOfBoundsException

enumerateServiceProvider

public java.util.Enumeration enumerateServiceProvider()
Method enumerateServiceProvider


getServiceProvider

public ServiceProvider getServiceProvider(int index)
                                   throws java.lang.IndexOutOfBoundsException
Method getServiceProvider

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getServiceProvider

public ServiceProvider[] getServiceProvider()
Method getServiceProvider


getServiceProviderCount

public int getServiceProviderCount()
Method getServiceProviderCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllServiceProvider

public void removeAllServiceProvider()
Method removeAllServiceProvider


removeServiceProvider

public ServiceProvider removeServiceProvider(int index)
Method removeServiceProvider

Parameters:
index -

setServiceProvider

public void setServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws java.lang.IndexOutOfBoundsException
Method setServiceProvider

Parameters:
index -
vServiceProvider -
Throws:
java.lang.IndexOutOfBoundsException

setServiceProvider

public void setServiceProvider(ServiceProvider[] serviceProviderArray)
Method setServiceProvider

Parameters:
serviceProviderArray -

unmarshal

public static java.lang.Object unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 1999-2011 OpenEJB. All Rights Reserved.