org.openejb.config.sys
Class ServicesJar

java.lang.Object
  extended byorg.openejb.config.sys.ServicesJar
All Implemented Interfaces:
Serializable

public class ServicesJar
extends Object
implements Serializable

Version:
$Revision: 1.1 $ $Date: 2004/03/01 07:14:43 $
See Also:
Serialized Form

Constructor Summary
ServicesJar()
           
 
Method Summary
 void addServiceProvider(int index, ServiceProvider vServiceProvider)
           
 void addServiceProvider(ServiceProvider vServiceProvider)
           
 Enumeration enumerateServiceProvider()
           
 ServiceProvider[] getServiceProvider()
           
 ServiceProvider getServiceProvider(int index)
           
 int getServiceProviderCount()
           
 boolean isValid()
           
 void marshal(DocumentHandler handler)
           
 void marshal(Writer out)
           
 void removeAllServiceProvider()
           
 ServiceProvider removeServiceProvider(int index)
           
 void setServiceProvider(int index, ServiceProvider vServiceProvider)
           
 void setServiceProvider(ServiceProvider[] serviceProviderArray)
           
static ServicesJar unmarshal(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 IndexOutOfBoundsException
Parameters:
vServiceProvider -
Throws:
IndexOutOfBoundsException

addServiceProvider

public void addServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws IndexOutOfBoundsException
Parameters:
index -
vServiceProvider -
Throws:
IndexOutOfBoundsException

enumerateServiceProvider

public Enumeration enumerateServiceProvider()

getServiceProvider

public ServiceProvider getServiceProvider(int index)
                                   throws IndexOutOfBoundsException
Parameters:
index -
Throws:
IndexOutOfBoundsException

getServiceProvider

public ServiceProvider[] getServiceProvider()

getServiceProviderCount

public int getServiceProviderCount()

isValid

public boolean isValid()

marshal

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

marshal

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

removeAllServiceProvider

public void removeAllServiceProvider()

removeServiceProvider

public ServiceProvider removeServiceProvider(int index)
Parameters:
index -

setServiceProvider

public void setServiceProvider(int index,
                               ServiceProvider vServiceProvider)
                        throws IndexOutOfBoundsException
Parameters:
index -
vServiceProvider -
Throws:
IndexOutOfBoundsException

setServiceProvider

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

unmarshal

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

validate

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


Copyright © 1999-2005 OpenEJB. All Rights Reserved.