org.ow2.jonas.validation.hibernate
Class JOnASHibernateValidationServiceImpl

java.lang.Object
  extended by org.ow2.jonas.lib.management.javaee.ManagedObject
      extended by org.ow2.jonas.lib.service.AbsServiceImpl
          extended by org.ow2.jonas.validation.hibernate.JOnASHibernateValidationServiceImpl
All Implemented Interfaces:
Service

public class JOnASHibernateValidationServiceImpl
extends AbsServiceImpl

Implementation of the service that is providing Validation provider.

Author:
Florent Benoit

Constructor Summary
JOnASHibernateValidationServiceImpl(org.osgi.framework.BundleContext bundleContext)
          Constructor in OSGi mode.
 
Method Summary
protected  void doStart()
          Abstract start-up method to be implemented by sub-classes.
protected  void doStop()
          Abstract method for service stopping to be implemented by sub-classes.
 void setJ2EEServer(J2EEServerService j2eeServer)
           
 void setJmxService(JmxService jmxService)
           
 
Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl
convertToList, doInit, getDomainName, getJonasServerName, getName, getSequenceNumber, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString
 
Methods inherited from class org.ow2.jonas.lib.management.javaee.ManagedObject
getModelMBean, sendNotification, sendReconfigNotification, sendSaveNotification, setModelMBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JOnASHibernateValidationServiceImpl

public JOnASHibernateValidationServiceImpl(org.osgi.framework.BundleContext bundleContext)
Constructor in OSGi mode. It provides the bundle context.

Parameters:
bundleContext - the given bundle context.
Method Detail

doStart

protected void doStart()
                throws ServiceException
Abstract start-up method to be implemented by sub-classes.

Specified by:
doStart in class AbsServiceImpl
Throws:
ServiceException - service start-up failed

doStop

protected void doStop()
               throws ServiceException
Abstract method for service stopping to be implemented by sub-classes.

Specified by:
doStop in class AbsServiceImpl
Throws:
ServiceException - service stopping failed

setJmxService

public void setJmxService(JmxService jmxService)
Parameters:
jmxService - the jmxService to set

setJ2EEServer

public void setJ2EEServer(J2EEServerService j2eeServer)
Parameters:
j2eeServer - the j2eeServer to set


Copyright © 2011 OW2 Consortium. All Rights Reserved.