com.googlecode.fascinator.sequences
Class SequenceService

java.lang.Object
  extended by com.googlecode.fascinator.sequences.SequenceService

@Component(value="sequenceService")
public class SequenceService
extends java.lang.Object


Constructor Summary
SequenceService()
           
 
Method Summary
 java.lang.Integer getSequence(java.lang.String sequenceName)
           
 void init()
          Initialization of Sequences Service
 void init(com.googlecode.fascinator.common.JsonSimple config)
           
 void shutdown()
          Shuts down the plugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceService

public SequenceService()
Method Detail

init

@PostConstruct
public void init()
          throws java.io.IOException,
                 java.sql.SQLException
Initialization of Sequences Service

Throws:
java.io.IOException
java.sql.SQLException

init

public void init(com.googlecode.fascinator.common.JsonSimple config)
          throws java.io.IOException,
                 java.sql.SQLException
Throws:
java.io.IOException
java.sql.SQLException

shutdown

public void shutdown()
              throws java.sql.SQLException
Shuts down the plugin

Throws:
com.googlecode.fascinator.api.access.AccessControlException - if there was an error during shutdown
java.sql.SQLException

getSequence

public java.lang.Integer getSequence(java.lang.String sequenceName)
                              throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2014. All Rights Reserved.