org.gcube.smartgears.configuration.application
Class BridgedApplicationConfiguration

java.lang.Object
  extended by org.gcube.smartgears.configuration.application.BridgedApplicationConfiguration
All Implemented Interfaces:
ApplicationConfiguration

public class BridgedApplicationConfiguration
extends Object
implements ApplicationConfiguration


Constructor Summary
BridgedApplicationConfiguration(ContainerConfiguration container, ApplicationConfiguration config)
           
 
Method Summary
 String description()
          Returns the description of the application.
 ApplicationConfiguration description(String description)
          Sets the description of the application.
 Set<String> excludes()
          Returns a set of request paths that should not be subjected to request management.
 ApplicationConfiguration inner()
           
 Mode mode()
          Returns the management mode of the application.
 ApplicationConfiguration mode(Mode mode)
          Sets the management mode of this application.
 String name()
          Returns the name of the application.
 ApplicationConfiguration name(String name)
          Sets the name of the application.
 Persistence persistence()
          Returns the persistence manager of the application.
 ApplicationConfiguration persistence(Persistence manager)
          Sets the persistence manager of the application.
 String serviceClass()
          Returns the class of the application
 ApplicationConfiguration serviceClass(String group)
          Sets the class of the application.
 void validate()
          Validates this configuration.
 String version()
          Returns the version of the application.
 ApplicationConfiguration version(String version)
          Sets the version of the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgedApplicationConfiguration

public BridgedApplicationConfiguration(ContainerConfiguration container,
                                       ApplicationConfiguration config)
Method Detail

inner

public ApplicationConfiguration inner()

mode

public Mode mode()
Description copied from interface: ApplicationConfiguration
Returns the management mode of the application.

Specified by:
mode in interface ApplicationConfiguration
Returns:
the management mode

name

public String name()
Description copied from interface: ApplicationConfiguration
Returns the name of the application.

Specified by:
name in interface ApplicationConfiguration
Returns:
the name

name

public ApplicationConfiguration name(String name)
Description copied from interface: ApplicationConfiguration
Sets the name of the application.

Specified by:
name in interface ApplicationConfiguration
Parameters:
name - the name
Returns:
this configuration

serviceClass

public String serviceClass()
Description copied from interface: ApplicationConfiguration
Returns the class of the application

Specified by:
serviceClass in interface ApplicationConfiguration
Returns:
the class

serviceClass

public ApplicationConfiguration serviceClass(String group)
Description copied from interface: ApplicationConfiguration
Sets the class of the application.

Specified by:
serviceClass in interface ApplicationConfiguration
Parameters:
group - the class
Returns:
this configuration

version

public String version()
Description copied from interface: ApplicationConfiguration
Returns the version of the application.

Specified by:
version in interface ApplicationConfiguration
Returns:
the version

version

public ApplicationConfiguration version(String version)
Description copied from interface: ApplicationConfiguration
Sets the version of the application.

Specified by:
version in interface ApplicationConfiguration
Parameters:
version - the version
Returns:
this configuration

description

public String description()
Description copied from interface: ApplicationConfiguration
Returns the description of the application.

Specified by:
description in interface ApplicationConfiguration
Returns:
the description

description

public ApplicationConfiguration description(String description)
Description copied from interface: ApplicationConfiguration
Sets the description of the application.

Specified by:
description in interface ApplicationConfiguration
Parameters:
description - the description
Returns:
this configuration

persistence

public Persistence persistence()
Description copied from interface: ApplicationConfiguration
Returns the persistence manager of the application.

Specified by:
persistence in interface ApplicationConfiguration
Returns:
the manager

persistence

public ApplicationConfiguration persistence(Persistence manager)
Description copied from interface: ApplicationConfiguration
Sets the persistence manager of the application.

Specified by:
persistence in interface ApplicationConfiguration
Parameters:
manager - the manager
Returns:
this configuration

mode

public ApplicationConfiguration mode(Mode mode)
Description copied from interface: ApplicationConfiguration
Sets the management mode of this application.

Specified by:
mode in interface ApplicationConfiguration
Returns:
this configuration

validate

public void validate()
Description copied from interface: ApplicationConfiguration
Validates this configuration.

Specified by:
validate in interface ApplicationConfiguration

excludes

public Set<String> excludes()
Description copied from interface: ApplicationConfiguration
Returns a set of request paths that should not be subjected to request management.

Specified by:
excludes in interface ApplicationConfiguration
Returns:
the set of exclude paths.


Copyright © 2013. All Rights Reserved.