|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.ale.server.ALE
public class ALE
This class represents the application level events interface. All ale operations are executed by this class.
Constructor Summary | |
---|---|
ALE()
|
Method Summary | |
---|---|
static void |
close()
This method closes the ale and remove all input generators and there objects on the reader devices. |
static void |
define(java.lang.String specName,
org.fosstrak.ale.xsd.ale.epcglobal.ECSpec spec)
With this method an ec specification can be defined. |
static org.fosstrak.ale.xsd.ale.epcglobal.ECSpec |
getECSpec(java.lang.String specName)
This method returns an ec specification depending on a given name. |
static java.lang.String[] |
getECSpecNames()
This method returns the names of all defined ec specifications. |
static java.lang.String |
getStandardVersion()
This method returns the standard version to which this implementation is compatible. |
static java.lang.String[] |
getSubscribers(java.lang.String specName)
This method returns all subscribers to a given ec specification name. |
static java.lang.String |
getVendorVersion()
This method returns the vendor version of this implementation. |
static org.fosstrak.ale.xsd.ale.epcglobal.ECReports |
immediate(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec spec)
With this method a undefined ec specifcation can be executed. |
static void |
initialize()
This method initializes the ALE by loading properties from default properties file and creating input generators. |
static void |
initialize(java.lang.String propertiesFilePath)
This method initalizes the ALE by loading properties from file and creating input generators. |
static boolean |
isReady()
This method indicates if the ALE is ready or not. |
static void |
main(java.lang.String[] args)
With this method the ALE can be started. |
static org.fosstrak.ale.xsd.ale.epcglobal.ECReports |
poll(ReportsGenerator reportGenerator)
|
static org.fosstrak.ale.xsd.ale.epcglobal.ECReports |
poll(java.lang.String specName)
With this method a defined ec specification can be polled. |
static void |
subscribe(java.lang.String specName,
java.lang.String notificationURI)
With this method a notification uri can be subscribed to a defined ec specification. |
static void |
undefine(java.lang.String specName)
With this method an ec specification can be undefined. |
static void |
unsubscribe(java.lang.String specName,
java.lang.String notificationURI)
With this method a notification uri can be unsubscribed from a defined ec specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ALE()
Method Detail |
---|
public static void initialize(java.lang.String propertiesFilePath) throws org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
propertiesFilePath
- the filepath to the properties file
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if properties could not be loaded or input generator could not be created
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
public static void initialize() throws org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if properties could not be loaded or input generator could not be created
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
public static boolean isReady()
public static void define(java.lang.String specName, org.fosstrak.ale.xsd.ale.epcglobal.ECSpec spec) throws org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateNameExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
specName
- of the ec specificationspec
- to define
org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateNameException
- if a ec specification with the same name is already defined
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationException
- if the ec specification is not valid
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if an implementation exception occurs
org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateNameExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
public static void undefine(java.lang.String specName) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
specName
- of the ec specification to undefine
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if there is no ec specification with this name defined
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
public static org.fosstrak.ale.xsd.ale.epcglobal.ECSpec getECSpec(java.lang.String specName) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
specName
- of the ec specification to return
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if no such ec specification exists
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
public static java.lang.String[] getECSpecNames()
public static void subscribe(java.lang.String specName, java.lang.String notificationURI) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateSubscriptionExceptionResponse
specName
- of the ec specificationnotificationURI
- to subscribe
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if there is no ec specification with the given name defined
org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIException
- if the specified notification uri is invalid
org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateSubscriptionException
- if the same subscription is already done
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.DuplicateSubscriptionExceptionResponse
public static void unsubscribe(java.lang.String specName, java.lang.String notificationURI) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchSubscriberExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIExceptionResponse
specName
- of the ec specificationnotificationURI
- to unsubscribe
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if there is no ec specification with the given name defined
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchSubscriberException
- if the specified notification uri is not subscribed to the ec specification.
org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIException
- if the specified notification uri is invalid
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchSubscriberExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.InvalidURIExceptionResponse
public static org.fosstrak.ale.xsd.ale.epcglobal.ECReports poll(java.lang.String specName) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
specName
- of the ec specification which schould be polled
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if there is no ec specification with the given name defined
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
public static org.fosstrak.ale.xsd.ale.epcglobal.ECReports immediate(org.fosstrak.ale.xsd.ale.epcglobal.ECSpec spec) throws org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse, org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
spec
- ec specification to execute
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationException
- if the ec specification is not valid
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if an implementation exception occures
org.fosstrak.ale.wsdl.ale.epcglobal.ECSpecValidationExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
public static java.lang.String[] getSubscribers(java.lang.String specName) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
specName
- of which the subscribers should be returned
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameException
- if there is no ec specification with the given name is defined
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
public static java.lang.String getStandardVersion()
public static java.lang.String getVendorVersion()
public static void close()
public static void main(java.lang.String[] args) throws org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
args
- can contain the properties file path
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationException
- if an implementation exception occures
org.fosstrak.ale.wsdl.ale.epcglobal.ImplementationExceptionResponse
public static org.fosstrak.ale.xsd.ale.epcglobal.ECReports poll(ReportsGenerator reportGenerator) throws org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
org.fosstrak.ale.wsdl.ale.epcglobal.NoSuchNameExceptionResponse
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |