org.openejb.config
Interface Service

All Known Implementing Classes:
ConnectionManager, Connector, Container, JndiProvider, ProxyFactory, Resource, SecurityService, TransactionService

public interface Service

This interface must be implemented by the following castor generated classes:

ConnectionManager Connector Container JndiProvider ProxyFactory Resource SecurityService TransactionService

Each of these classes have the methods of this interface, but Castor does not generate them as sharing a common interface. Those generated classes must be edited to implement this interface so that building them is a lot easier and the code involved can be reused.

Author:
David Blevins

Method Summary
 String getContent()
           
 String getId()
           
 String getJar()
           
 String getProvider()
           
 void setContent(String content)
           
 void setId(String id)
           
 void setJar(String jar)
           
 void setProvider(String provider)
           
 void validate()
           
 

Method Detail

getContent

public String getContent()

getId

public String getId()

getJar

public String getJar()

getProvider

public String getProvider()

setContent

public void setContent(String content)

setId

public void setId(String id)

setJar

public void setJar(String jar)

setProvider

public void setProvider(String provider)

validate

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


Copyright © 1999-2006 OpenEJB. All Rights Reserved.