com.hack23.cia.service.impl
Class ApplicationManagerImpl

Package class diagram package ApplicationManagerImpl
java.lang.Object
  extended by com.hack23.cia.service.impl.ApplicationManagerImpl
All Implemented Interfaces:
ApplicationManager

@Service(value="ApplicationManager")
public class ApplicationManagerImpl
extends Object
implements ApplicationManager

The Class ApplicationManagerImpl.


Constructor Summary
ApplicationManagerImpl()
          Instantiates a new application manager impl.
ApplicationManagerImpl(List<BusinessService> businessServices)
          Instantiates a new application manager impl.
 
Method Summary
 Object authenticate(String username, String password)
          Authenticate.
 AgentContainer getAgentContainer()
          Gets the agent container.
<T extends Serializable,ID extends Serializable>
DataContainer<T,ID>
getDataContainer(Class<T> dataObject)
          Gets the data container.
 GeoIpCountryService getGeoIpCountryService()
          Gets the geo ip country service.
 OperationalStatementDAO getOperationalStatementDAO()
          Gets the operational statement dao.
 Translator getTranslator()
          Gets the translator.
 void logout()
          Logout.
 ServiceResponse service(ServiceRequest serviceRequest)
          Service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationManagerImpl

public ApplicationManagerImpl()
Instantiates a new application manager impl.


ApplicationManagerImpl

public ApplicationManagerImpl(List<BusinessService> businessServices)
Instantiates a new application manager impl.

Parameters:
businessServices - the business services
Method Detail

authenticate

public Object authenticate(String username,
                           String password)
Description copied from interface: ApplicationManager
Authenticate.

Specified by:
authenticate in interface ApplicationManager
Parameters:
username - the username
password - the password
Returns:
the object

getAgentContainer

public AgentContainer getAgentContainer()
Description copied from interface: ApplicationManager
Gets the agent container.

Specified by:
getAgentContainer in interface ApplicationManager
Returns:
the agent container

getDataContainer

public <T extends Serializable,ID extends Serializable> DataContainer<T,ID> getDataContainer(Class<T> dataObject)
Description copied from interface: ApplicationManager
Gets the data container.

Specified by:
getDataContainer in interface ApplicationManager
Type Parameters:
T - the generic type
ID - the generic type
Parameters:
dataObject - the data object
Returns:
the data container

getGeoIpCountryService

public GeoIpCountryService getGeoIpCountryService()
Description copied from interface: ApplicationManager
Gets the geo ip country service.

Specified by:
getGeoIpCountryService in interface ApplicationManager
Returns:
the geo ip country service

getOperationalStatementDAO

public OperationalStatementDAO getOperationalStatementDAO()
Description copied from interface: ApplicationManager
Gets the operational statement dao.

Specified by:
getOperationalStatementDAO in interface ApplicationManager
Returns:
the operational statement dao

getTranslator

public Translator getTranslator()
Description copied from interface: ApplicationManager
Gets the translator.

Specified by:
getTranslator in interface ApplicationManager
Returns:
the translator

logout

public void logout()
Description copied from interface: ApplicationManager
Logout.

Specified by:
logout in interface ApplicationManager

service

@Secured(value="ROLE_ANONYMOUS")
public final ServiceResponse service(ServiceRequest serviceRequest)
Description copied from interface: ApplicationManager
Service.

Specified by:
service in interface ApplicationManager
Parameters:
serviceRequest - the service request
Returns:
the service response


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.