FileDocCategorySizeDatePackage
ConfigBeanArchive.javaAPI DocGlassfish v2 API6975Fri May 04 22:34:28 BST 2007com.sun.enterprise.deployapi.config

ConfigBeanArchive

public class ConfigBeanArchive extends com.sun.enterprise.deployment.deploy.shared.AbstractArchive
This class act as an AbstractArchive implementation, delegating all possible APIs to the JSR88 DeployObject object.
author
Jerome Dochez

Fields Summary
private javax.enterprise.deploy.model.DeployableObject
deployObject
private static com.sun.enterprise.util.LocalStringManagerImpl
localStrings
Constructors Summary
public ConfigBeanArchive(javax.enterprise.deploy.model.DeployableObject deployObject)
Creates a new instance of ConfigBeanArchive

    
           
       
        this.deployObject = deployObject;
    
Methods Summary
public java.io.OutputStreamaddEntry(java.lang.String name)

returns
an @see java.io.OutputStream for a new entry in this current abstract archive.
param
the entry name

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
    
public voidclose()
close the abstract archive

        // nothing to do here
    
public voidcloseEntry()

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
    
public voidcloseEntry(com.sun.enterprise.deployment.deploy.shared.AbstractArchive os)
close a previously returned @see java.io.OutputStream returned by an addEntry call

param
the output stream to close

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
        
    
public voidcloseEntry(java.io.OutputStream os)
close a previously returned @see java.io.OutputStream returned by an addEntry call

param
the output stream to close

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
    
public booleandelete()
delete the archive

        return false;
    
public java.util.Enumerationentries()

return
an @see java.util.Enumeration of entries in this abstract archive

        return deployObject.entries();
    
public java.util.Enumerationentries(java.util.Enumeration embeddedArchives)

return
an @see java.util.Enumeration of entries in this abstract archive, providing the list of embedded archive to not count their entries as part of this archive

	// jar file are not recursive    
	return entries();
     
public booleanexists()

return
true if this archive exists

        return false;
    
public longgetArchiveSize()

return
the archive size

        return -1;
    
public java.lang.StringgetArchiveUri()

return
the archive uri

        return null;
    
public com.sun.enterprise.deployment.deploy.shared.AbstractArchivegetEmbeddedArchive(java.lang.String name)
create or obtain an embedded archive within this abstraction.

param
the name of the embedded archive.

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
        
    
public java.io.InputStreamgetEntry(java.lang.String name)

return
a @see java.io.InputStream for an existing entry in the current abstract archive
param
the entry name

        return deployObject.getEntry(name);
    
public java.util.jar.ManifestgetManifest()

return
the manifest information for this abstract archive

        return null;
    
public java.net.URIgetURI()

        return null;        
    
public java.io.OutputStreamputNextEntry(java.lang.String name)

        throw new IOException(localStrings.getLocalString(
		    	    "enterprise.deployapi.config.configbeanarchive.notimplemented", 
		    	    "Operation not implemented"));
    
public booleanrenameTo(java.lang.String name)
rename the archive

param
name the archive name

        return false;
    
public booleansupportsElementsOverwriting()

return
true if this archive abstraction supports overwriting of elements

        return false;