Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.management.security
Interface ImportMBean

All Superinterfaces:
DescriptorBean, SettableBean, StandardInterface
All Known Subinterfaces:
CertificateRegistryMBean, CertRegManagerMBean, DefaultAuthenticatorMBean, DefaultAuthorizerMBean, DefaultCredentialMapperMBean, DefaultRoleMapperMBean, GroupCertRegManagerMBean, PKICredentialMapperMBean, SAML2CredentialMapperMBean, SAML2IdentityAsserterMBean, SAMLAssertingPartyRegistryMBean, SAMLCredentialMapperV2MBean, SAMLIdentityAsserterMBean, SAMLIdentityAsserterV2MBean, SAMLPartnerRegistryMBean, SAMLRelyingPartyRegistryMBean

public interface ImportMBean
extends StandardInterface, DescriptorBean

Provides a set of methods for importing provider specific data. A provider MBean can optionally extend this MBean. The WebLogic Server Administration Console detects when a provider extends this MBean and automatically provides a GUI for using these methods.


Method Summary
 String[] getSupportedImportConstraints()
          Returns the list of import constraints that this provider supports.
 String[] getSupportedImportFormats()
          Returns the list of import data formats that this provider supports.
 void importData(String format, String filename, Properties constraints)
          Imports provider specific data from a specified format.
 
Methods inherited from interface weblogic.management.commo.StandardInterface
getName
 
Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getSupportedImportFormats

String[] getSupportedImportFormats()
Returns the list of import data formats that this provider supports.


getSupportedImportConstraints

String[] getSupportedImportConstraints()
Returns the list of import constraints that this provider supports.


importData

void importData(String format,
                String filename,
                Properties constraints)
                throws InvalidParameterException,
                       ErrorCollectionException
Imports provider specific data from a specified format. When errors occur, the MBean throws an ErrorCollectionException containing a list of java.lang.Exceptions, where the text of each exception describes the error.

Parameters:
format - - The format for importing provider specific data.
filename - - The full path to the filename used to read data.
constraints - - The constraints to be used when importing data. A null value indicates that all data will be imported.
Throws:
InvalidParameterException
ErrorCollectionException

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02