|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.serotonin.m2m2.module.ModuleElementDefinition
com.serotonin.m2m2.module.PublisherDefinition
public abstract class PublisherDefinition
A publisher allows point values to be written (or published) to targets outside of the m2m2 instance. Typically any data points can be provided to a publisher regardless of the data source. When creating a publisher for m2m2, the following components are required:
PublisherVO
PublishedPointVO
PublisherRT
PublisherEditDwr
Constructor Summary | |
---|---|
PublisherDefinition()
|
Method Summary | |
---|---|
com.serotonin.m2m2.vo.publish.PublisherVO<?> |
baseCreatePublisherVO()
Used by m2m2 core code to create a new publisher instance as required. |
protected abstract com.serotonin.m2m2.vo.publish.PublisherVO<? extends com.serotonin.m2m2.vo.publish.PublishedPointVO> |
createPublisherVO()
Create and return an instance of the publisher. |
abstract java.lang.String |
getDescriptionKey()
A reference to a human readable and translatable brief description of the publisher. |
abstract java.lang.Class<?> |
getDwrClass()
The class of the DWR page with which the publisher editing page communicates. |
abstract java.lang.String |
getEditPagePath()
The path to the publisher editing page relative to the module. |
abstract java.lang.String |
getPublisherTypeName()
An internal identifier for this type of publisher. |
Methods inherited from class com.serotonin.m2m2.module.ModuleElementDefinition |
---|
getModule, initialize, uninstall |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PublisherDefinition()
Method Detail |
---|
public com.serotonin.m2m2.vo.publish.PublisherVO<?> baseCreatePublisherVO()
public abstract java.lang.String getPublisherTypeName()
public abstract java.lang.String getDescriptionKey()
protected abstract com.serotonin.m2m2.vo.publish.PublisherVO<? extends com.serotonin.m2m2.vo.publish.PublishedPointVO> createPublisherVO()
public abstract java.lang.String getEditPagePath()
public abstract java.lang.Class<?> getDwrClass()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |