Package com.sun.enterprise.management.support

Examples of com.sun.enterprise.management.support.TypeInfos$ConfigResource


    Verify that all j2eeTypes have a proper Container that does actually hold them.
   */
    public void
  testContainerChild()
  {
    final TypeInfos  infos  = TypeInfos.getInstance();
    final Set<String>    j2eeTypesSet  = infos.getJ2EETypes();

        for( final String j2eeType : j2eeTypesSet )
    {
      checkContainerChild( j2eeType );
    }
View Full Code Here


    Statically verify that the interface for each proxy has a J2EE_TYPE field.
   */
    public void
  testHaveJ2EE_TYPE()
  {
    final TypeInfos  infos  = TypeInfos.getInstance();
    final Set      j2eeTypes  = infos.getJ2EETypes();
   
    boolean  success  = true;
    final Iterator  iter    = j2eeTypes.iterator();
    while ( iter.hasNext() )
    {
      final String    j2eeType  = (String)iter.next();
      final TypeInfo  info  = infos.getInfo( j2eeType );
     
      final Class  theInterface  = info.getInterface();
      try
      {
        final String  value  =
View Full Code Here

   */
    public void
  testImplementsAMXMonitoring()
    throws Exception
  {
    final TypeInfos  infos  = TypeInfos.getInstance();
   
    final Iterator  iter  = infos.getJ2EETypes().iterator();
    while ( iter.hasNext() )
    {
      final TypeInfo  info  = infos.getInfo( (String)iter.next() );
      final Class    theInterface  = info.getInterface();
      final String  interfaceName  = theInterface.getName();
      if ( ! MON_IGNORE.contains( theInterface ) )
      {
        if ( interfaceName.endsWith( "Monitor" ) )
View Full Code Here

    public void
  testProxyInterfaceIsAMX()
    throws Exception
  {
    final long  start  = now();
    final TypeInfos  infos  = TypeInfos.getInstance();
   
    final Iterator  iter  = infos.getJ2EETypes().iterator();
    while ( iter.hasNext() )
    {
      final TypeInfo  info  = infos.getInfo( (String)iter.next() );
      final Class  proxyClass  = info.getInterface();
     
      if ( ! AMX.class.isAssignableFrom( proxyClass ) )
      {
        warning( "Proxy interface does not extend AMX: " + proxyClass.getName() );
View Full Code Here

  testProxyInterfaceNameConsistent()
    throws Exception
  {
    final long  start  = now();
   
    final TypeInfos  infos  = TypeInfos.getInstance();
   
    final Iterator  iter  = infos.getJ2EETypes().iterator();
    while ( iter.hasNext() )
    {
      final TypeInfo  info  = infos.getInfo( (String)iter.next() );
     
      final Class  proxyClass  = info.getInterface();
     
     
      if ( proxyClass.getName().endsWith( "ResourceConfigProxy" ) )
View Full Code Here

    protected static String
  getFullType( final ObjectName partialSelfObjectName )
  {
    final String  selfJ2EEType  = Util.getJ2EEType( partialSelfObjectName );
   
    final TypeInfos  typeInfos  = TypeInfos.getInstance();
    final TypeInfo  info  = typeInfos.getInfo( selfJ2EEType );
   
    final String[]  chain  = typeInfos.getJ2EETypeChain( partialSelfObjectName );
   
    final String  fullType  = ArrayStringifier.stringify( chain, "." );
   
    return( fullType );
  }
View Full Code Here

  }
 
    public Set<ObjectName>
  getContaineeObjectNameSet( final String childJ2EEType )
  {
    final TypeInfos  infos  = TypeInfos.getInstance();
    final TypeInfo  info  = infos.getInfo( childJ2EEType );
   
    String  props  = Util.makeJ2EETypeProp( childJ2EEType );
   
    QueryExp expr  = null;
    if ( info.isSubType() )
View Full Code Here

TOP

Related Classes of com.sun.enterprise.management.support.TypeInfos$ConfigResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.