org.apache.wsrp4j.persistence.xml.driver
Class ServerPersistentFactoryImpl

java.lang.Object
  extended byorg.apache.wsrp4j.persistence.xml.driver.ServerPersistentFactoryImpl
All Implemented Interfaces:
PersistentFactory, ServerPersistentFactory

public class ServerPersistentFactoryImpl
extends java.lang.Object
implements ServerPersistentFactory

This class is the server factory implementation for the persistence support.

Version:
$Id: ServerPersistentFactoryImpl.java,v 1.3 2005/08/10 14:59:56 cziegeler Exp $
Author:
Ralf Altrichter

Field Summary
private  Logger logger
           
private  java.lang.String path
           
private static PersistentHandler persistentHandler
           
private static ServerPersistentInformationProvider serverInfoProvider
           
private static ServerPersistentFactory serverPersistentFactory
           
 
Constructor Summary
ServerPersistentFactoryImpl()
           
 
Method Summary
 PersistentDataObject getConsumerConfiguredPortletList()
          Returns the ConsumerConfiguredPortletList
 PersistentDataObject getConsumerPortletRegistrationList()
          Returns the ConsumerPortletRegistrationList
 PersistentHandler getPersistentHandler()
          Returns a PersistentHandler
 PersistentInformationProvider getPersistentInformationProvider()
          Returns the PersistentInformationProvider
 PersistentDataObject getPortletDescriptionList()
          Returns the PortletDescriptionList
 PersistentDataObject getPortletList()
          Returns the PortletList
 PersistentDataObject getProducerList()
          Returns the ProducerList
 PersistentDataObject getRegistrationList()
          Returns the RegistrationList
 PersistentDataObject getServiceDescriptionList()
          Returns the ServiceDescriptionList
 PersistentDataObject getUserList()
          Returns the UserList
 void setPath(java.lang.String path)
          Set the real offset path of the persistent store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverPersistentFactory

private static ServerPersistentFactory serverPersistentFactory

persistentHandler

private static PersistentHandler persistentHandler

serverInfoProvider

private static ServerPersistentInformationProvider serverInfoProvider

path

private java.lang.String path

logger

private Logger logger
Constructor Detail

ServerPersistentFactoryImpl

public ServerPersistentFactoryImpl()
Method Detail

getPersistentHandler

public PersistentHandler getPersistentHandler()
Returns a PersistentHandler

Specified by:
getPersistentHandler in interface PersistentFactory
Returns:
persistentHandler

getPersistentInformationProvider

public PersistentInformationProvider getPersistentInformationProvider()
Description copied from interface: PersistentFactory
Returns the PersistentInformationProvider

Specified by:
getPersistentInformationProvider in interface PersistentFactory
Returns:
ServerPersistentInformationProvider

setPath

public void setPath(java.lang.String path)
Set the real offset path of the persistent store

Parameters:
path - as string value

getPortletList

public PersistentDataObject getPortletList()
                                    throws WSRPException
Returns the PortletList

Specified by:
getPortletList in interface PersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getProducerList

public PersistentDataObject getProducerList()
                                     throws WSRPException
Returns the ProducerList

Specified by:
getProducerList in interface PersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getRegistrationList

public PersistentDataObject getRegistrationList()
                                         throws WSRPException
Returns the RegistrationList

Specified by:
getRegistrationList in interface ServerPersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getUserList

public PersistentDataObject getUserList()
                                 throws WSRPException
Returns the UserList

Specified by:
getUserList in interface PersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getConsumerConfiguredPortletList

public PersistentDataObject getConsumerConfiguredPortletList()
                                                      throws WSRPException
Returns the ConsumerConfiguredPortletList

Specified by:
getConsumerConfiguredPortletList in interface ServerPersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getPortletDescriptionList

public PersistentDataObject getPortletDescriptionList()
                                               throws WSRPException
Returns the PortletDescriptionList

Specified by:
getPortletDescriptionList in interface ServerPersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getServiceDescriptionList

public PersistentDataObject getServiceDescriptionList()
                                               throws WSRPException
Returns the ServiceDescriptionList

Specified by:
getServiceDescriptionList in interface ServerPersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException

getConsumerPortletRegistrationList

public PersistentDataObject getConsumerPortletRegistrationList()
                                                        throws WSRPException
Returns the ConsumerPortletRegistrationList

Specified by:
getConsumerPortletRegistrationList in interface ServerPersistentFactory
Returns:
PersistentDataObject
Throws:
WSRPException


--