org.openejb.alt.config.sys
Class ServicesJar

java.lang.Object
  |
  +--org.openejb.alt.config.sys.ServicesJar
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.3 $ $Date: 2002/03/12 20:49:50 $
See Also:
Serialized Form

Constructor Summary
ServicesJar()
           
 
Method Summary
 void addServiceProvider(int index, ServiceProvider vServiceProvider)
           
 void addServiceProvider(ServiceProvider vServiceProvider)
           
 java.util.Enumeration enumerateServiceProvider()
           
 ServiceProvider[] getServiceProvider()
           
 ServiceProvider getServiceProvider(int index)
           
 int getServiceProviderCount()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void removeAllServiceProvider()
           
 ServiceProvider removeServiceProvider(int index)
           
 void setServiceProvider(int index, ServiceProvider vServiceProvider)
           
 void setServiceProvider(ServiceProvider[] serviceProviderArray)
           
static ServicesJar unmarshal(java.io.Reader reader)
           
 void 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
Parameters:
vServiceProvider -  

addServiceProvider

public void addServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vServiceProvider -  

enumerateServiceProvider

public java.util.Enumeration enumerateServiceProvider()

getServiceProvider

public ServiceProvider getServiceProvider(int index)
                                   throws java.lang.IndexOutOfBoundsException
Parameters:
index -  

getServiceProvider

public ServiceProvider[] getServiceProvider()

getServiceProviderCount

public int getServiceProviderCount()

isValid

public boolean isValid()

marshal

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

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -  

removeAllServiceProvider

public void removeAllServiceProvider()

removeServiceProvider

public ServiceProvider removeServiceProvider(int index)
Parameters:
index -  

setServiceProvider

public void setServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws java.lang.IndexOutOfBoundsException
Parameters:
index -  
vServiceProvider -  

setServiceProvider

public void setServiceProvider(ServiceProvider[] serviceProviderArray)
Parameters:
serviceProviderArray -  

unmarshal

public static ServicesJar unmarshal(java.io.Reader reader)
                             throws org.exolab.castor.xml.MarshalException,
                                    org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

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