org.apache.openejb.config.typed
Class SecurityServiceBuilder

java.lang.Object
  extended by org.apache.openejb.config.sys.AbstractService
      extended by org.apache.openejb.config.sys.SecurityService
          extended by org.apache.openejb.config.typed.SecurityServiceBuilder
All Implemented Interfaces:
Service

public class SecurityServiceBuilder
extends SecurityService


Field Summary
 
Fields inherited from class org.apache.openejb.config.sys.AbstractService
className, classpath, constructor, factoryName, id, jar, properties, provider, type
 
Constructor Summary
SecurityServiceBuilder()
           
 
Method Summary
 String getDefaultUser()
           
 Properties getProperties()
          Gets the value of the properties property.
 SecurityServiceBuilder id(String id)
           
 void setDefaultUser(String defaultUser)
           
 SecurityServiceBuilder withDefaultUser(String defaultUser)
           
 
Methods inherited from class org.apache.openejb.config.sys.AbstractService
equals, getClassName, getClasspath, getConstructor, getFactoryName, getId, getJar, getPropertiesProvider, getProvider, getType, hashCode, setClassName, setClasspath, setConstructor, setFactoryName, setId, setJar, setPropertiesProvider, setProvider, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityServiceBuilder

public SecurityServiceBuilder()
Method Detail

id

public SecurityServiceBuilder id(String id)

withDefaultUser

public SecurityServiceBuilder withDefaultUser(String defaultUser)

setDefaultUser

public void setDefaultUser(String defaultUser)

getDefaultUser

public String getDefaultUser()

getProperties

public Properties getProperties()
Description copied from class: AbstractService
Gets the value of the properties property.

This accessor method returns a reference to the live Properties Object, not a snapshot. Therefore any modification you make to the returned Properties will be present inside the JAXB object. This is why there is not a set method for the properties property.

For example, to add a new value, do as follows:

    getProperties().setProperty(key, value);
 

Specified by:
getProperties in interface Service
Overrides:
getProperties in class AbstractService


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.