Package com.sun.identity.monitoring
Class TableSsoServerPolicyJ2EEGroupTable
- java.lang.Object
-
- com.sun.management.snmp.agent.SnmpTableSupport
-
- com.sun.identity.monitoring.TableSsoServerPolicyJ2EEGroupTable
-
- All Implemented Interfaces:
com.sun.management.snmp.agent.SnmpTableCallbackHandler,com.sun.management.snmp.agent.SnmpTableEntryFactory,Serializable
public class TableSsoServerPolicyJ2EEGroupTable extends com.sun.management.snmp.agent.SnmpTableSupport implements Serializable
The class is used for implementing the "SsoServerPolicyJ2EEGroupTable" group. The group is defined with the following oid: 1.3.6.1.4.1.42.2.230.3.1.1.2.1.21.4.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected MBeanServerserverReference to the MBean server.
-
Constructor Summary
Constructors Constructor Description TableSsoServerPolicyJ2EEGroupTable(com.sun.management.snmp.agent.SnmpMib myMib)Constructor for the table.TableSsoServerPolicyJ2EEGroupTable(com.sun.management.snmp.agent.SnmpMib myMib, MBeanServer server)Constructor for the table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEntry(SsoServerPolicyJ2EEGroupEntryMBean entry)Add a new entry to the table.voidaddEntry(SsoServerPolicyJ2EEGroupEntryMBean entry, ObjectName name)Add a new entry to the table.ObjectNamebuildNameFromIndex(com.sun.management.snmp.agent.SnmpIndex index)com.sun.management.snmp.SnmpOidbuildOidFromIndex(com.sun.management.snmp.agent.SnmpIndex index)Build index for "SsoServerPolicyJ2EEGroupEntry".com.sun.management.snmp.SnmpOidbuildOidFromIndexVal(Integer aSsoServerRealmIndex, Integer aPolicyJ2EEGroupIndex)Build index for "SsoServerPolicyJ2EEGroupEntry".com.sun.management.snmp.agent.SnmpIndexbuildSnmpIndex(long[] index, int start)Build index for "SsoServerPolicyJ2EEGroupEntry".com.sun.management.snmp.agent.SnmpIndexbuildSnmpIndex(SsoServerPolicyJ2EEGroupEntryMBean entry)Build index for "SsoServerPolicyJ2EEGroupEntry".voidcreateNewEntry(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth, com.sun.management.snmp.agent.SnmpMibTable meta)ObjectcreateSsoServerPolicyJ2EEGroupEntryMBean(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth, ObjectName entryObjName, com.sun.management.snmp.agent.SnmpMibTable meta, Integer aSsoServerRealmIndex, Integer aPolicyJ2EEGroupIndex)Factory method for "SsoServerPolicyJ2EEGroupEntry" entry MBean class.SsoServerPolicyJ2EEGroupEntryMBean[]getEntries()Return the entries stored in the table.protected com.sun.management.snmp.agent.SnmpMibTablegetRegisteredTableMeta(com.sun.management.snmp.agent.SnmpMib mib)voidremoveEntry(SsoServerPolicyJ2EEGroupEntryMBean entry)Remove the specified entry from the table.voidremoveEntryCb(int pos, com.sun.management.snmp.SnmpOid row, ObjectName name, Object entry, com.sun.management.snmp.agent.SnmpMibTable meta)-
Methods inherited from class com.sun.management.snmp.agent.SnmpTableSupport
addEntry, addEntry, addEntryCb, addNotificationListener, allocateTable, bindWithTableMeta, buildSnmpIndex, getBasicEntries, getEntry, getNotificationInfo, getSize, isCreationEnabled, isRegistrationRequired, removeEntry, removeNotificationListener, setCreationEnabled
-
-
-
-
Field Detail
-
server
protected MBeanServer server
Reference to the MBean server.
-
-
Constructor Detail
-
TableSsoServerPolicyJ2EEGroupTable
public TableSsoServerPolicyJ2EEGroupTable(com.sun.management.snmp.agent.SnmpMib myMib)
Constructor for the table. Initialize metadata for "TableSsoServerPolicyJ2EEGroupTable". The reference on the MBean server is not updated so the entries created through an SNMP SET will not be registered in Java DMK.
-
TableSsoServerPolicyJ2EEGroupTable
public TableSsoServerPolicyJ2EEGroupTable(com.sun.management.snmp.agent.SnmpMib myMib, MBeanServer server)Constructor for the table. Initialize metadata for "TableSsoServerPolicyJ2EEGroupTable". The reference on the MBean server is updated so the entries created through an SNMP SET will be AUTOMATICALLY REGISTERED in Java DMK.
-
-
Method Detail
-
createNewEntry
public void createNewEntry(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth, com.sun.management.snmp.agent.SnmpMibTable meta) throws com.sun.management.snmp.SnmpStatusException- Specified by:
createNewEntryin interfacecom.sun.management.snmp.agent.SnmpTableEntryFactory- Specified by:
createNewEntryin classcom.sun.management.snmp.agent.SnmpTableSupport- Throws:
com.sun.management.snmp.SnmpStatusException
-
getRegisteredTableMeta
protected com.sun.management.snmp.agent.SnmpMibTable getRegisteredTableMeta(com.sun.management.snmp.agent.SnmpMib mib)
- Specified by:
getRegisteredTableMetain classcom.sun.management.snmp.agent.SnmpTableSupport
-
removeEntryCb
public void removeEntryCb(int pos, com.sun.management.snmp.SnmpOid row, ObjectName name, Object entry, com.sun.management.snmp.agent.SnmpMibTable meta) throws com.sun.management.snmp.SnmpStatusException- Specified by:
removeEntryCbin interfacecom.sun.management.snmp.agent.SnmpTableCallbackHandler- Overrides:
removeEntryCbin classcom.sun.management.snmp.agent.SnmpTableSupport- Throws:
com.sun.management.snmp.SnmpStatusException
-
addEntry
public void addEntry(SsoServerPolicyJ2EEGroupEntryMBean entry) throws com.sun.management.snmp.SnmpStatusException
Add a new entry to the table. If the associated metadata requires ObjectNames a new ObjectName will be generated using "buildNameFromIndex". This method calls "addEntry" from "SnmpTableSupport". See the "SnmpTableSupport" Javadoc API for more details.- Throws:
com.sun.management.snmp.SnmpStatusException
-
addEntry
public void addEntry(SsoServerPolicyJ2EEGroupEntryMBean entry, ObjectName name) throws com.sun.management.snmp.SnmpStatusException
Add a new entry to the table. This method calls "addEntry" from "SnmpTableSupport". See the "SnmpTableSupport" Javadoc API for more details.- Throws:
com.sun.management.snmp.SnmpStatusException
-
getEntries
public SsoServerPolicyJ2EEGroupEntryMBean[] getEntries()
Return the entries stored in the table. This method calls "getBasicEntries" from "SnmpTableSupport". See the "SnmpTableSupport" Javadoc API for more details.
-
removeEntry
public void removeEntry(SsoServerPolicyJ2EEGroupEntryMBean entry) throws com.sun.management.snmp.SnmpStatusException
Remove the specified entry from the table. This method calls "removeEntry" from "SnmpTableSupport". See the "SnmpTableSupport" Javadoc API for more details.- Throws:
com.sun.management.snmp.SnmpStatusException
-
buildNameFromIndex
public ObjectName buildNameFromIndex(com.sun.management.snmp.agent.SnmpIndex index) throws com.sun.management.snmp.SnmpStatusException
- Specified by:
buildNameFromIndexin classcom.sun.management.snmp.agent.SnmpTableSupport- Throws:
com.sun.management.snmp.SnmpStatusException
-
buildSnmpIndex
public com.sun.management.snmp.agent.SnmpIndex buildSnmpIndex(SsoServerPolicyJ2EEGroupEntryMBean entry) throws com.sun.management.snmp.SnmpStatusException
Build index for "SsoServerPolicyJ2EEGroupEntry".- Throws:
com.sun.management.snmp.SnmpStatusException
-
buildOidFromIndex
public com.sun.management.snmp.SnmpOid buildOidFromIndex(com.sun.management.snmp.agent.SnmpIndex index) throws com.sun.management.snmp.SnmpStatusExceptionBuild index for "SsoServerPolicyJ2EEGroupEntry".- Specified by:
buildOidFromIndexin classcom.sun.management.snmp.agent.SnmpTableSupport- Throws:
com.sun.management.snmp.SnmpStatusException
-
buildOidFromIndexVal
public com.sun.management.snmp.SnmpOid buildOidFromIndexVal(Integer aSsoServerRealmIndex, Integer aPolicyJ2EEGroupIndex) throws com.sun.management.snmp.SnmpStatusException
Build index for "SsoServerPolicyJ2EEGroupEntry".- Throws:
com.sun.management.snmp.SnmpStatusException
-
buildSnmpIndex
public com.sun.management.snmp.agent.SnmpIndex buildSnmpIndex(long[] index, int start) throws com.sun.management.snmp.SnmpStatusExceptionBuild index for "SsoServerPolicyJ2EEGroupEntry".- Specified by:
buildSnmpIndexin classcom.sun.management.snmp.agent.SnmpTableSupport- Throws:
com.sun.management.snmp.SnmpStatusException
-
createSsoServerPolicyJ2EEGroupEntryMBean
public Object createSsoServerPolicyJ2EEGroupEntryMBean(com.sun.management.snmp.agent.SnmpMibSubRequest req, com.sun.management.snmp.SnmpOid rowOid, int depth, ObjectName entryObjName, com.sun.management.snmp.agent.SnmpMibTable meta, Integer aSsoServerRealmIndex, Integer aPolicyJ2EEGroupIndex) throws com.sun.management.snmp.SnmpStatusException
Factory method for "SsoServerPolicyJ2EEGroupEntry" entry MBean class. You can redefine this method if you need to replace the default generated MBean class with your own customized class.- Returns:
- An instance of the MBean class generated for the "SsoServerPolicyJ2EEGroupEntry" conceptual row. Note that when using standard metadata, the returned object must implement the "SsoServerPolicyJ2EEGroupEntryMBean" interface.
- Throws:
com.sun.management.snmp.SnmpStatusException
-
-