com.sun.enterprise.config.serverbeans
Interface AdminService

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface AdminService
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

Admin Service exists in every instance. It is the configuration for either a normal server, DAS or PE instance


Nested Class Summary
static class AdminService.Duck
           
 
Method Summary
 AuthRealm getAssociatedAuthRealm()
           
 java.lang.String getAuthRealmName()
          Gets the name of the auth realm to be used for administration.
 DasConfig getDasConfig()
          Gets the value of the dasConfig property.
 java.util.List<JmxConnector> getJmxConnector()
          Gets the value of the jmxConnector property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 JmxConnector getSystemJmxConnector()
           
 java.lang.String getSystemJmxConnectorName()
          Gets the value of the systemJmxConnectorName property.
 java.lang.String getType()
          Gets the value of the type property.
 void setAuthRealmName(java.lang.String name)
           
 void setDasConfig(DasConfig value)
          Sets the value of the dasConfig property.
 void setSystemJmxConnectorName(java.lang.String value)
          Sets the value of the systemJmxConnectorName property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 boolean usesFileRealm()
           
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getType

@Pattern(regexp="(das|das-and-server|server)")
java.lang.String getType()
Gets the value of the type property. An instance can either be of type das Domain Administration Server in SE/EE or the PE instance das-and-server same as das server Any non-DAS instance in SE/EE. Not valid for PE.

Returns:
possible object is String

setType

void setType(java.lang.String value)
             throws java.beans.PropertyVetoException
Sets the value of the type property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getSystemJmxConnectorName

java.lang.String getSystemJmxConnectorName()
Gets the value of the systemJmxConnectorName property. The name of the internal jmx connector

Returns:
possible object is String

setSystemJmxConnectorName

void setSystemJmxConnectorName(java.lang.String value)
                               throws java.beans.PropertyVetoException
Sets the value of the systemJmxConnectorName property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getJmxConnector

java.util.List<JmxConnector> getJmxConnector()
Gets the value of the jmxConnector property. The jmx-connector element defines the configuration of a JSR 160 compliant remote JMX Connector. Objects of the following type(s) are allowed in the list JmxConnector


getDasConfig

@NotNull
DasConfig getDasConfig()
Gets the value of the dasConfig property.

Returns:
possible object is DasConfig

setDasConfig

void setDasConfig(DasConfig value)
                  throws java.beans.PropertyVetoException
Sets the value of the dasConfig property.

Parameters:
value - allowed object is DasConfig
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag

getAuthRealmName

@NotNull
java.lang.String getAuthRealmName()
Gets the name of the auth realm to be used for administration. This obsoletes/deprecates the similarly named attribute on JmxConnector. Note that this is of essence where admin access is done outside the containers. Container managed security is still applicable and is handled via security annotations and deployment descriptors of the admin applications (aka admin GUI application, MEjb application).

Returns:
name of the auth realm to be used for admin access

setAuthRealmName

void setAuthRealmName(java.lang.String name)

getSystemJmxConnector

@DuckTyped
JmxConnector getSystemJmxConnector()

getAssociatedAuthRealm

@DuckTyped
AuthRealm getAssociatedAuthRealm()

usesFileRealm

@DuckTyped
boolean usesFileRealm()


Copyright © 2012 GlassFish Community. All Rights Reserved.