org.openide.modules
Class ManifestSection.ServiceSection

java.lang.Object
  |
  +--org.openide.modules.ManifestSection
        |
        +--org.openide.modules.ManifestSection.ServiceSection
Enclosing class:
ManifestSection

public static final class ManifestSection.ServiceSection
extends ManifestSection

Module section for a service type.

See Also:
ServiceType

Inner classes inherited from class org.openide.modules.ManifestSection
ManifestSection.ActionSection, ManifestSection.ClipboardConvertorSection, ManifestSection.DebuggerSection, ManifestSection.FileSystemSection, ManifestSection.Iterator, ManifestSection.LoaderSection, ManifestSection.NodeSection, ManifestSection.OptionSection, ManifestSection.ServiceSection
 
Method Summary
 ServiceType createServiceType()
          Create a new service type of the specified type.
 ServiceType getServiceType()
          Getter for the default instance of this service type.
 boolean isDefault()
          Is this service type default? That means should it be placed in front of other services?
 
Methods inherited from class org.openide.modules.ManifestSection
getSectionClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isDefault

public boolean isDefault()
Is this service type default? That means should it be placed in front of other services?
Returns:
true if it is

getServiceType

public ServiceType getServiceType()
                           throws InstantiationException
Getter for the default instance of this service type.
Returns:
the service type
Throws:
InstantiationException - if the Service could not be created

createServiceType

public ServiceType createServiceType()
                              throws InstantiationException
Create a new service type of the specified type.
Returns:
the service type
Throws:
InstantiationException - if the Service could not be created


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.