org.ow2.jasmine.probe.outers
Class JOuterService

java.lang.Object
  extended by org.ow2.jasmine.probe.outers.JOuterService
All Implemented Interfaces:
org.ow2.jasmine.probe.outer.JasmineOuterService

public abstract class JOuterService
extends Object
implements org.ow2.jasmine.probe.outer.JasmineOuterService

Base class for all OuterServices

Author:
durieuxp

Field Summary
protected  org.ow2.jonas.jmx.JmxService jmxService
           
protected  org.ow2.util.log.Log logger
          Logger.
protected  Map<String,JOuter> outerList
          List of Outer
protected  List<org.ow2.jasmine.probe.JasminePropertyInfo> properties
           
 
Constructor Summary
JOuterService()
           
 
Method Summary
 org.ow2.jonas.jmx.JmxService getJmxService()
           
abstract  org.ow2.jasmine.probe.outer.JasmineOuter getOuter(org.ow2.jasmine.probe.JasmineOutput jasmineOutput)
          Create an Outer for this JasmineOutput
 List<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
          Retrieve the description of all specific properties hidden in JasmineOutput Return a List of all properties with their description
abstract  String getType()
           
protected  void registerJOuterMBean(JOuter outer)
           
 void removeOuters(String name)
          Remove Outers attached to this Output.
 void setJmxService(org.ow2.jonas.jmx.JmxService jmxService)
           
protected  void unregisterJOuterMBean(ObjectName on)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.ow2.util.log.Log logger
Logger.


outerList

protected Map<String,JOuter> outerList
List of Outer


properties

protected List<org.ow2.jasmine.probe.JasminePropertyInfo> properties

jmxService

protected org.ow2.jonas.jmx.JmxService jmxService
Constructor Detail

JOuterService

public JOuterService()
Method Detail

getJmxService

public org.ow2.jonas.jmx.JmxService getJmxService()

setJmxService

public void setJmxService(org.ow2.jonas.jmx.JmxService jmxService)

registerJOuterMBean

protected void registerJOuterMBean(JOuter outer)
                            throws org.ow2.jasmine.probe.outer.JasmineOuterException
Throws:
org.ow2.jasmine.probe.outer.JasmineOuterException

unregisterJOuterMBean

protected void unregisterJOuterMBean(ObjectName on)

getOuter

public abstract org.ow2.jasmine.probe.outer.JasmineOuter getOuter(org.ow2.jasmine.probe.JasmineOutput jasmineOutput)
                                                           throws org.ow2.jasmine.probe.outer.JasmineOuterException
Create an Outer for this JasmineOutput

Specified by:
getOuter in interface org.ow2.jasmine.probe.outer.JasmineOuterService
Parameters:
jasmineOutput -
Returns:
the Outer
Throws:
org.ow2.jasmine.probe.outer.JasmineOuterException - operation failed

removeOuters

public void removeOuters(String name)
Remove Outers attached to this Output. Called usually when the output has changed or is removed.

Specified by:
removeOuters in interface org.ow2.jasmine.probe.outer.JasmineOuterService
Parameters:
name - Output name

getPropertiesInfo

public List<org.ow2.jasmine.probe.JasminePropertyInfo> getPropertiesInfo()
Retrieve the description of all specific properties hidden in JasmineOutput Return a List of all properties with their description

Specified by:
getPropertiesInfo in interface org.ow2.jasmine.probe.outer.JasmineOuterService
Returns:
a List of property descriptions

getType

public abstract String getType()
Specified by:
getType in interface org.ow2.jasmine.probe.outer.JasmineOuterService


Copyright © 2013 OW2 Consortium. All Rights Reserved.